Used to set initial values and then the aws configure set command assigns the last This example is for the short-term credentials from AWS Identity and Access Management. ProductionAccount, ( 444455556666) Using the account ID 111122223333įullAccess Using the role name "ReadOnly" CLI default client Region : us-west-2 CLI default output format : json CLI profile name : user1 Short-term credentials There are 2 AWS accounts available to you. SSO start URL : SSO region : us-east-1 SSO authorization page has automatically been opened in your default browser.įollow the instructions in the browser to complete this authorization request. $ aws configure sso SSO session name (Recommended): Information, see Token provider configuration with automaticĪuthentication refresh for AWS IAM Identity Center. ![]() This example is for AWS IAM Identity Center using the aws configure sso wizard. You run an AWS CLI command that doesn't explicitly specify a profile to use.įor more information on the credentials andĬonfig files, see Configuration and credential file settings. By default, the information in this profile is used when Based on the credential method you prefer, the AWS CLI prompts you for Configuring using AWS CLIįor general use, the aws configure or aws configure ssoĬommands in your preferred terminal are the fastest way to set up your AWS CLI The following examples use sample values for each of the authentication methods. There are primarily two methods to quickly get setup: The AWS CLI stores your configuration and credential information in a profile (a collection of settings) in the Use credential values stored in a location outside of the AWS CLI. (Not recommended) Pair another credential method but ![]() (Not recommended) Use long-term credentials. Pair another credential method and assume a role for permissions. Use credentials for Amazon EC2 instance metadata Use Amazon EC2 instance metadata for credentials. Workforce identity (AWS IAM Identity Center users) Configure the AWS CLI to use AWS IAM Identity Center
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |