Difference between revisions of "$AWS PROFILE"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <code>[[export]] [[AWS_PROFILE]]=your_defined_profile</code> | * <code>[[export]] [[AWS_PROFILE]]=your_defined_profile</code> | ||
− | + | * <code>export [[PS1]]='[\u@\h $AWS_PROFILE]\$ '</code> | |
Revision as of 12:18, 8 August 2021
export AWS_PROFILE=your_defined_profile
export PS1='[\u@\h $AWS_PROFILE]\$ '
See also
- AWS CLI,
aws
[configure
|iam
|ec2
|ecs
|eks
|s3
|rds
|sts
|cloudwatch
|cloudformation
|cloudfront
|eventbridge
|lambda
],aws configure list
,.aws/credentials
,.aws/config
,~/.aws/cli/alias
,--output [ table | json | text | XXX ]
, Aws cli environmental variables:AWS_PROFILE
,AWS_DEFAULT_REGION, AWS_REGION
,AWS_CLI_AUTO_PROMPT
,AWS_SESSION_TOKEN
,aws list all
,auto-prompt
,--version
,whoamiaws, --filters, --help
Advertising: