thumbtackthief
thumbtackthief

Reputation: 6221

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

Upvotes: 0

Views: 1736

Answers (1)

Lucasz
Lucasz

Reputation: 1227

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.

Upvotes: 1

Related Questions