hashicorp / vault-plugin-secrets-alicloud

Dynamic secrets for Alibaba Cloud.
Mozilla Public License 2.0
1 stars 8 forks source link

Shorten role session names #18

Closed tyrannosaurus-becks closed 5 years ago

tyrannosaurus-becks commented 5 years ago

For AssumeRole we had been usernames as role session names. However, usernames have a max length of 64, whereas role session names have a max length of 32. This caused attempts to assume a role using longer role session names to fail.

This PR shortens role session names to get them under the limit.