ruimarinho / gsts

Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.
MIT License
212 stars 37 forks source link

Add --list-available-roles to print the list of roles available to assume and exit #111

Open kalbasit opened 2 months ago

kalbasit commented 2 months ago

Running gsts ... --list-available-roles prints the list of available roles and exits. Also, if -o json was given, the list of roles is then printed in JSON.

Please scrutinize my PR, I'm neither a TypeScript expert nor I know gsts internally well.

closes #56

kalbasit commented 2 months ago

@ruimarinho Do you mind taking a look if this implementation is satisfactory to close #56?

kalbasit commented 3 weeks ago

@ruimarinho any chance to get this merged, please??