Inherit role_session_name
from the profile specified by source_profile
#8893
Labels
configuration
feature-request
A feature should be added or improved.
p2
This is a standard priority issue
Describe the feature
To simplify AWS CLI profiles configuration it would be great to have an option to inherit
role_session_name
from the profile specified bysource_profile
.Use Case
We've got about 150-200 AWS CLI profiles configured to use
source_profile
to inherit credentials for assume role and each needs an individualrole_session_name
option to be set. It would drastically simplify things ifrole_session_name
could be inherited from the profile supplied withsource_profile
parameter. Thanks.Proposed Solution
Inherit
role_session_name
from the profile specified bysource_profile
.Other Information
No response
Acknowledgements
CLI version used
aws-cli/2.17.42 Python/3.11.9 Linux/6.6.5-060605-generic source/x86_64.ubuntu.22
Environment details (OS name and version, etc.)
Ubuntu 22.04.4 LTS (Jammy Jellyfish)
The text was updated successfully, but these errors were encountered: