Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanitize hostname used for AWS STS role session name (getsops#558)
* Sanitize hostname used for AWS STS role session name From official docs for --role-session-name (https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html): > The regex used to validate this parameter is a string of characters consisting of upper- and lower-case alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@- This fixes getsops#441, which occurs when the hostname includes spaces and parentheses * pr notes: wrap STS role session name regex compilation error
- Loading branch information