简体   繁体   中英

Get AWS credentials for CLI from federated role

I have access to an AWS console through One Login, in which I'm assigned a role to do my business. I want to set up the CLI tool but since I don't have my own user credentials, I'm a little unclear on how to generate the access and secret access key. I don't have the ability to create a user, although that would definitely be a dumb way to go even if I could. All my Googling says to look it up from the user page or use AWS SSO, neither of which are an option for me

You can generate temporary credentials. But this is not possible if you already use temporary credentials afaik. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html#using-temp-creds-sdk-cli

Best case would be: Ask your SysOps or DevOps engineer to provide you CLI credentials.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM