Difference between revisions of "$AWS PROFILE"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code> | * <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code> | ||
− | Windows | + | ===Windows=== |
* <code>[[set]] [[AWS_DEFAULT_PROFILE]]=yourprofile</code> | * <code>[[set]] [[AWS_DEFAULT_PROFILE]]=yourprofile</code> | ||
Revision as of 10:46, 2 January 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
AWS_ACCESS_KEY_ID
AWS_SESSION_TOKEN
AWS_REGION
See also
Advertising: