Nike-Inc / gimme-aws-creds

A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials
Apache License 2.0
925 stars 263 forks source link

feat: support arbitrary delimiters in acc-role profile names #475

Open markjreed opened 1 month ago

markjreed commented 1 month ago

Description

If the cred_profile configuration parameter has the form "accXrole" for any character X, it is treated as "acc-role" with X as the delimiter between account and role in the generated profile name.

Related Issue

474

Motivation and Context

See the issue.

How Has This Been Tested?

Added two new tests, one with a colon and resolve_alias true, the other with a slash and resolve_alias false.

Screenshots (if appropriate):

Types of changes

Checklist: