common-fate / granted

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

fix assume output for setting up SSO ENV VARS #545

Closed JoshuaWilkes closed 8 months ago

JoshuaWilkes commented 8 months ago

What changed?

Fixes #539

When we made the breaking change to no longer export credentials for SSO profiles with credential process configured, there was a misconfiguration with the outputs which caused the special env var GRANTED_SSO to be set to "true"

This ENV var is used in conjunction with the --sso flags so that Granted knows that the profile doesn't exist in the config file but that it can reconstruct it virtually to reassume it.

Why?

How did you test it?

Potential risks

Is patch release candidate?

Link to relevant docs PRs