Difference between revisions of "$AWS PROFILE"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* <code>[[suaws]]</code> function | * <code>[[suaws]]</code> function | ||
* <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 | ||
− | |||
== See also == | == See also == |
Revision as of 13:26, 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:
AWS_ACCESS_KEY_ID
,AWS_SESSION_TOKEN
,AWS_REGION
.bash_profile
~/.aws/config
,~/.aws/credentials
AWS_CLI_AUTO_PROMPT
- AWS region:
AWS_DEFAULT_REGION
suaws
function~/.kube/config
K8s configuration file useAWS_PROFILE
asenv:
variable
See also
- 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, viawscredentials
Advertising: