Skip to content

Commit

Permalink
aws-configure: add page (#8808)
Browse files Browse the repository at this point in the history
  • Loading branch information
piraces committed Oct 9, 2022
1 parent 48c1cf0 commit 1077c06
Showing 1 changed file with 36 additions and 0 deletions.
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

> Manage configuration for the AWS CLI.
> More information: <https://docs.aws.amazon.com/cli/latest/reference/configure/>.
- Configure AWS CLI interactively (creates a new configuration or updates the default):

`aws configure`

- Configure a named profile for AWS CLI interactively (creates a new profile or updates an existing one):

`aws configure --profile {{profile_name}}`

- Display the value from a specific configuration variable:

`aws configure get {{name}}`

- Display the value for a configuration variable in a specific profile:

`aws configure get {{name}} --profile {{profile_name}}`

- Set the value of a specific configuration variable:

`aws configure set {{name}} {{value}}`

- Set the value of a configuration variable in a specific profile:

`aws configure set {{name}} {{value}} --profile {{profile_name}}`

- List the configuration entries:

`aws configure list`

- List the configuration entries for a specific profile:

`aws configure list --profile {{profile_name}}`

0 comments on commit 1077c06

Please sign in to comment.