okta / okta-aws-cli

A CLI for having Okta as the IdP for AWS CLI operations
https://github.com/okta/okta-aws-cli
Other
123 stars 31 forks source link

Allow default parameters to web flow in okta.yaml #210

Open Liz4v opened 2 months ago

Liz4v commented 2 months ago

As far as I can tell from the documentation, the only way to let my team see the list of idps is to force them to fill up org-domain and oidc-client. Sure that's scriptable, but I would prefer to give my team a config file instead, so that the command:

okta-aws-cli web

Would be able to just bring up a list of id providers after authentication.

Liz4v commented 2 months ago

Presumably can be solved by pull request #200

monde commented 1 month ago

@EliseAv is this something different than configure by profile name?

https://github.com/okta/okta-aws-cli?tab=readme-ov-file#configuration-by-profile-name

Liz4v commented 1 month ago

Yes. The central problem is that these two behave differently and they should behave exactly the same:

okta-aws-cli web
okta-aws-cli web -p default