- AWS Administration Cookbook
- Lucas Chan Rowan Udell
- 62字
- 2021-07-09 18:18:31
Named profiles
In addition to the default profile, you can configure other, named profiles. This is useful for switching between users with different levels of access (for example, read-only and administrator) or even between users in different accounts.
aws configure --profile <profile-name>
Once you have responded to the prompts, you can reference the named profile by passing the --profile <profile-name> option with your command.