curl --request POST \
--url https://us.infisical.com/api/v1/auth/aws-auth/login \
--header 'Content-Type: application/json' \
--data '{
"identityId": "<string>",
"iamHttpRequestMethod": "POST",
"iamRequestBody": "<string>",
"iamRequestHeaders": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Login with AWS Auth
curl --request POST \
--url https://us.infisical.com/api/v1/auth/aws-auth/login \
--header 'Content-Type: application/json' \
--data '{
"identityId": "<string>",
"iamHttpRequestMethod": "POST",
"iamRequestBody": "<string>",
"iamRequestHeaders": "<string>"
}'
{
"accessToken": "<string>",
"expiresIn": 123,
"accessTokenMaxTTL": 123,
"tokenType": "Bearer"
}
Default Response
The response is of type object
.
Was this page helpful?