Inherit `role_session_name` from the profile specified by `source_profile`
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### 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 by `source_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 individual `role_session_name` option to be set. It would drastically simplify things if `role_session_name` could be inherited from the profile supplied with `source_profile` parameter. Thanks.
### Proposed Solution
Inherit `role_session_name` from the profile specified by `source_profile`.
### Other Information
_No response_
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### 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)
Contributor guide
Assessment
This issue has not been assessed yet.