0 votes
in AWS Access Management by
How can I use temporary security credentials to call AWS service APIs?

1 Answer

0 votes
by

If you're making direct HTTPS API requests to AWS, you can sign those requests with the temporary security credentials that you get from AWS Security Token Service (AWS STS). To do this, do the following:

  • Use the access key ID and secret access key that are provided with the temporary security credentials the same way you would use long-term credentials to sign a request. For more information about signing HTTPS API requests, see Signing AWS API Requests in the AWS General Reference.
  • Use the session token that is provided with the temporary security credentials. Include the session token in the "x-amz-security-token" header. See the following example request.
  • For Amazon S3, via the "x-amz- security-token" HTTP header.
  • For other AWS services, via the SecurityToken parameter.

 

Related questions

0 votes
asked Aug 12, 2021 in AWS Access Management by Robindeniel
0 votes
asked Aug 12, 2021 in AWS Access Management by Robindeniel
...