Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for granted sso command, add storing parameters in input config https://github.com/common-fate/granted/issues/650 #651

Merged
merged 10 commits into from
May 3, 2024

Conversation

mikesarver
Copy link
Contributor

What changed?

For granted sso generate/populate commands add support to persist preferences in .granted/config

Why?

issues/650
Persists granted sso preferences in ~/.granted/config. This allows storing preferences in granted config across commands. This allows persisting the data once in config and used across when running commands to sync profiles.

How did you test it?

Tested manually.

Potential risks

Is patch release candidate?

Link to relevant docs PRs

Copy link
Contributor

@chrnorm chrnorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much for this @mikesarver, I am very keen to improve the UX with profile generation and avoiding having to pass all those extra flags. I've requested changes on a couple of smaller nits, as well as some thinking around how we might make this useable for folks who have multiple AWS SSO instances they work with.

pkg/config/config.go Outdated Show resolved Hide resolved
pkg/granted/sso.go Outdated Show resolved Hide resolved
pkg/config/config.go Outdated Show resolved Hide resolved
pkg/config/config.go Outdated Show resolved Hide resolved
pkg/granted/sso.go Outdated Show resolved Hide resolved
Copy link
Contributor

@chrnorm chrnorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this locally and it's working great! Thanks so much @mikesarver 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants