Difference between revisions of "$AWS PROFILE"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* [[Aws cli environmental variables]] | * [[Aws cli environmental variables]] | ||
* <code>[[.bash_profile]]</code> | * <code>[[.bash_profile]]</code> | ||
− | * <code>[[~/.aws/config]]</code> | + | * <code>[[~/.aws/config]]</code>, <code>[[~/.aws/credentials]]</code> |
− | |||
* <code>[[AWS_CLI_AUTO_PROMPT]]</code> | * <code>[[AWS_CLI_AUTO_PROMPT]]</code> | ||
* [[Terraform S3 backend]] | * [[Terraform S3 backend]] |
Revision as of 13:24, 4 September 2023
export AWS_PROFILE=your_defined_profile
export PS1='[\u@\h $AWS_PROFILE]\$ '
Windows
set AWS_DEFAULT_PROFILE=yourprofile
Related terms
AWS_DEFAULT_PROFILE
- Aws cli environmental variables
.bash_profile
~/.aws/config
,~/.aws/credentials
AWS_CLI_AUTO_PROMPT
- Terraform S3 backend
- AWS region:
AWS_DEFAULT_REGION
suaws
function~/.kube/config
K8s configuration file useAWS_PROFILE
asenv:
variableUnable to locate credentials. You can configure credentials by running aws configure
AWS_ACCESS_KEY_ID
,AWS_SESSION_TOKEN
,AWS_REGION
See also
Advertising: