AWS Multi-profile management
What is a Named Profile
Named Profiles are used by AWS to maintain more than one set of active credentials for you to use with AWS-CLI, SDK, or other third-party tools. Named profiles are stored in ~/.aws/credentials file in the ini file format.
Named Profiles have a default profile which is the one you get from aws configure command.
With Leapp you can group and activate more than one credential set at a time through Named Profiles.
How to configure a Named Profile in Leapp
Named Profiles can be created in 3 ways:
Click on the gear icon and select the Profiles tab. Insert the name of the new Named Profile in the input form, then click on the plus icon.
When creating a new session, the user will have the option to choose a Named Profile or add a new one.
Right-click on a session and select Change then Named Profile: an option to select or add a new Named Profile will be available.
The new name is directly added to the Named Profile list and can then be used for other sessions too.
AWS SSO sessions will have the Named Profile
default when obtained via Login or Sync. To change the Named Profile associated to a session you have to use the "Change Profile" option in the session list.
Named Profile List
Named profiles can be managed from the Option menu.
In the Option menu, under the Profiles tab, you can add or edit a new Named Profile, and you can also remove unwanted ones. When removing a Named Profile, Leapp will warn you about which sessions are using that profile, and those sessions will be reverted to the default Named Profile.
The input form can be used to add or edit a Named Profile: if it's empty, you can use it to add a new named profile. When selecting the button, you will be able to edit the name of the Named Profile from within the input form.
Remember that when you change the profile of a session, the session will be immediately put in stop mode. That's because Leapp would have to change the credential file, so you will need to restart the session again.