Difference between revisions of "$AWS PROFILE"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* [[AWS region]]: <code>[[AWS_DEFAULT_REGION]]</code> | * [[AWS region]]: <code>[[AWS_DEFAULT_REGION]]</code> | ||
* <code>[[suaws]]</code> function | * <code>[[suaws]]</code> function | ||
− | * <code>[[~/.kube/config]]</code> | + | * <code>[[~/.kube/config]]</code> K8s configuration file use <code>[[AWS_PROFILE]]</code> as <code>[[env:]]</code> variable |
* <code>[[Unable to locate credentials]]</code> | * <code>[[Unable to locate credentials]]</code> | ||
[[AWS_ACCESS_KEY_ID]] | [[AWS_ACCESS_KEY_ID]] |
Revision as of 17:10, 13 September 2022
export AWS_PROFILE=your_defined_profile
export PS1='[\u@\h $AWS_PROFILE]\$ '
Related terms
- Aws cli environmental variables
.bash_profile
$HOME/.aws/config
$HOME/.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
AWS_ACCESS_KEY_ID AWS_SESSION_TOKEN AWS_REGION
See also
Advertising: