-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
First timer with SSO here 👋🏽 After following this guide on configuring SSO, and then taking Ben's advice for setting up CLI access, I have the following simple questions and I'd be happy to PR the docs so that it can help others. Personally, I think some of my stumbling blocks stem from having to switch my mental model from thinking in accounts to thinking in roles/SSO.
A few of the questions are based off of this code snippet in the readme:
[profile my-sso-profile]
sso_start_url = https://example.awsapps.com/start
sso_region = us-east-1 # the region Identity Center is configured in
sso_account_id = 123456789012
sso_role_name = MyRoleName
region = us-east-2 # the region to use for AWS API calls- Which parts of this refer to the account that I configured Identity Center in and which refers to the account I want to use?
- If I leave this empty, and run
aws-sso-util configure profile [my-profile]I get "No Identity Center instance found". If I update the config above and set thesso_account_idto one of my org accounts, then I get acredential_processkey added. How do I get the CLI to prompt me to enter in values? - When testing to see if this works, I ran
aws-sso-util login. Is this needed to provide temporary credentials--thus removing the need for an~/.aws/credentialsfile? - After logging in, how do I run AWS CLI commands? Doing
aws s3 lsyields an "Unable to locate credentials. You can configure credentials by running "aws configure" error. Passing in the profile with--profilegave me returned "An error occurred (ForbiddenException) when calling the GetRoleCredentials operation: No access" (this user has the the powerUser role applied).
Again, happy to update the docs to provide guidance for others as well!
Vzzarr
Metadata
Metadata
Assignees
Labels
No labels