-
I am a member of Fedora infrastructure and we use AWS EC2. To webUI I log using SSO. It is documented here https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/aws-access/#_accessing_the_aws_console To log in there I use https://id.fedoraproject.org/saml2/SSO/Redirect?SPIdentifier=urn:amazon:webservices&RelayState=https://console.aws.amazon.com this works perfectly. I run Any idea how to configure it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @xsuchy, thanks for reaching out. Here is the documentation regarding configuring the CLI to use SSO credentials : https://docs.aws.amazon.com/cli/latest/userguide/sso-configure-profile-token.html. |
Beta Was this translation helpful? Give feedback.
-
According to the documentation that you linked, your organization is using a linked role to access the AWS Console, and that to gain CLI access you should set up a user with the same name as the role you are assigned:
This appears to say "use IAM to create a user with the same name as the role you are associated with and create a Secret/Access key from there." Confirm with your organization, however. |
Beta Was this translation helpful? Give feedback.
According to the documentation that you linked, your organization is using a linked role to access the AWS Console, and that to gain CLI access you should set up a user with the same name as the role you are assigned:
This appears to say "use IAM to create a user with the same name as the role you are associated with and create a Secret/Access key from there." Confirm with your organization, however.