Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix(docs): Clarifies login flow for IAM auth (#49)
Browse files Browse the repository at this point in the history
* fix(docs): Clarifies login flow for IAM auth

There was some missing information on an intermediate step for
decrypting a payload. This clarifies the decryption step.

* Minor edit
  • Loading branch information
thomastaylor312 authored and fieldju committed Jun 22, 2017
1 parent 15b5353 commit 4c78ece
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ This endpoint takes IAM ARN information and generates an base 64 encoded KMS enc
}

+ Response 200 (application/json)

+ The response will be a simple JSON payload with the encrypted data
{
"auth_data": "long-encrypted-string"
}
+ Once you have the encrypted string, you need to make a call to AWS Key Management Service (KMS) to decrypt the response. The decrypted response will contain the body below with the token needed to access Cerberus
+ Body

{
Expand Down

0 comments on commit 4c78ece

Please sign in to comment.