AWS CLI profiles allow you to configure the AWS CLI to work with certain AWS services or use specific AWS tools. To create a new profile, use the AWS create-profile command.
To modify an existing profile, use the AWS modify-profile command.
To create a new AWS CLI profile, use the following command:
AWS create-profile my-new-profile
To modify an existing AWS CLI profile, use the following command:
AWS modify-profile my-existing-profile my-new-profile
The following are some options for modifying a profile:
AWS configure-profile Sets the AWS CLI configuration for the profile.
AWS enable-profile Enables the profile.
AWS disable-profile Disables the profile.
AWS list-profiles Shows the profiles in the system.
AWS list-tools Shows the AWS tools that are enabled for the profile.
AWS list-resources Lists the resources that are available for use with the profile.
AWS rm-profile Deletes the profile.