Difference between revisions of "$AWS PROFILE"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
* <code>[[~/.kube/config]]</code> K8s configuration file use <code>[[AWS_PROFILE]]</code> as <code>[[env:]]</code> variable | * <code>[[~/.kube/config]]</code> K8s configuration file use <code>[[AWS_PROFILE]]</code> as <code>[[env:]]</code> variable | ||
* <code>[[Unable to locate credentials. You can configure credentials by running aws configure]]</code> | * <code>[[Unable to locate credentials. You can configure credentials by running aws configure]]</code> | ||
− | * <code>[[AWS_ACCESS_KEY_ID]] </code> | + | * <code>[[AWS_ACCESS_KEY_ID]] </code>, <code>[[AWS_SESSION_TOKEN]]</code>, <code>[[AWS_REGION]]</code> |
− | |||
− | |||
== See also == | == See also == |
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: