Is it possible to get temporary access keys without using "static" access keys?

0

Is there any options to get "session" access keys without the need for "static"/"long living" access keys? like with using U2F/SSH or anything else?

1 Answer
4
Accepted Answer

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

profile pictureAWS
answered 2 years ago
profile pictureAWS
EXPERT
James_S
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions