1 Answer
- Newest
- Most votes
- Most comments
4
If you configured federation using external identity provider or configured AWS SSO, you can also get temp credential without long-term credential.
https://aws.amazon.com/blogs/security/how-to-implement-federated-api-and-cli-access-using-saml-2-0-and-ad-fs/ https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html
If you're on EC2 instance that has instance profile, you can get the temp credential using Instance Meta Data Service.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
Relevant content
- Accepted Answerasked 3 years ago
- asked 4 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago