$AWS PROFILE
Jump to navigation
Jump to search
export AWS_PROFILE=your_defined_profile && echo $AWS_PROFILE
Fish
set -gx AWS_PROFILE YourProfileName
export PS1='[\u@\h $AWS_PROFILE]\$ '
suawsfunction
Contents
Windows[edit]
set AWS_DEFAULT_PROFILE=yourprofile
Errors[edit]
Unable to locate credentials. You can configure credentials by running aws configureAn error occurred (ExpiredToken) when calling the ListBuckets operation: The provided token has expired.
Related terms[edit]
AWS_DEFAULT_PROFILE- Aws cli environmental variables:
AWS_ACCESS_KEY_ID,AWS_SESSION_TOKEN,AWS_REGION .bash_profileAWS_CLI_AUTO_PROMPT- AWS region:
AWS_DEFAULT_REGION ~/.kube/configK8s configuration file useAWS_PROFILEasenv:variableaws --profiledirenv
See also[edit]
AWS_PROFILE- AWS CLI: environmental variables,
aws configure, ~/.aws/config,~/.aws/credentials,~/.aws/cli/alias, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY aws configure [ list-profiles | sso | sso-session | set ],~/.aws/config,.aws/credentials,mfa_serial, AWS cli environmental variables:AWS_PROFILE,AWS_REGION, AWS_DEFAULT_REGION, AWS_SESSION_TOKEN, AWS_ROLE_SESSION_NAME,.aws/, AWS functions,--profile, viawsconfig, viawscredentialsaws login,--profile,~/.aws/login/,SignInLocalDevelopmentAccess
Advertising: