common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
964 stars 91 forks source link

Re-populate (refresh) existing SSO config #517

Open moltar opened 9 months ago

moltar commented 9 months ago

It's pretty common for additional accounts or roles to be added to someone.

It'd be great to be able to re-populate the existing SSO config, without having to supply all of the initial properties again.

Thanks!

lbr88 commented 8 months ago

That would be a neat feature. You can do so with a small oneliner in a script granted sso populate --sso-region <sso_region> --prefix <prefix> https://<sso_domain>.awsapps.com/start This is what i do in a small shell script i run regularly for different sso's, giving them a different prefix for each