common-fate / granted

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

Credential process prompts to use 'granted request latest' when possible #679

Closed JoshuaWilkes closed 3 weeks ago

JoshuaWilkes commented 3 weeks ago

What changed?

Adds a new command granted request latest which is used in conjunction with the credential process and Common Fate. Now, when you don't have access to a role in AWS and you are using granted, you will be prompted to request access to it.

Also fixes some bugs with the NoAccess hook where the reason prompt was blocked by the spinner when the --reason flag was not used, this would leave the cli hanging waiting for an input.

Pass through the --confirm prompt to better support non interactive usecases

Why?

How did you test it?

Potential risks

Is patch release candidate?

Link to relevant docs PRs

JoshuaWilkes commented 3 weeks ago

I accidentally added some extra commits which I have reverted