Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-configure: add page #8808

Merged
merged 16 commits into from
Oct 9, 2022
Merged
36 changes: 36 additions & 0 deletions pages/common/aws-configure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# aws configure

> Configure AWS CLI options.
piraces marked this conversation as resolved.
Show resolved Hide resolved
> More information: <https://docs.aws.amazon.com/cli/latest/reference/configure/>.

- Configure AWS CLI interactively (new configuration or updating the default):
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure`

- Configure a named profile for AWS CLI interactively (new profile or updating the existing):
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure --profile {{production}}`
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

- Get a configuration value from the configuration file:
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure get {{region}}`
piraces marked this conversation as resolved.
Show resolved Hide resolved

- Get a configuration value from a profile configuration file:
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure get {{region}} --profile {{production}}`
piraces marked this conversation as resolved.
Show resolved Hide resolved

- Set a configuration value from the configuration file:
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure set {{region}} {{us-west-1}}`
piraces marked this conversation as resolved.
Show resolved Hide resolved

- Set a configuration value from a profile configuration file:
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure set {{region}} {{us-west-1}} --profile {{production}}`
piraces marked this conversation as resolved.
Show resolved Hide resolved

- List the AWS CLI configuration data:
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure list`

- List the AWS CLI profile configuration data:
piraces marked this conversation as resolved.
Show resolved Hide resolved

`aws configure list --profile {{production}}`
piraces marked this conversation as resolved.
Show resolved Hide resolved