Skip to content

Releases: fwdcloudsec/granted

v0.20.7

25 Jan 14:52
81699f9

Choose a tag to compare

Added better error handling for oauth2 invalid_grant error

we have added better error handling for the oauth2 invalid_grant error. Now, whenever this error is encountered, Granted automatically clears the cached token and sends a message like:

[i] It looks like the above error was caused by an invalid authentication token. We have cleared the token from your keychain. To re-run the command, you'll need to authenticate again by running: 'granted login https://d3h0e9z8klkkkk.cloudfront.net/'

What's Changed

Full Changelog: v0.20.6...v0.20.7

v0.20.6

03 Jan 22:10
bbc5266

Choose a tag to compare

Fix for assume --exec with multiple arguments/spaces

The output from goassume when --exec is provided now returns the arguments with proper escaping/splitting to ensure they are evaluated when passed to sh -c in the assume script.

What's Changed

Full Changelog: v0.20.5...v0.20.6

v0.20.5

20 Dec 00:48
cb1e905

Choose a tag to compare

What's Changed

  • Fix SSO_START_URL lookup for credential exports by @cedieio in #572
  • Revert "Ensure proper initialization of profiles with source_profile" by @JoshuaWilkes in #576

Full Changelog: v0.20.4...v0.20.5

v0.20.4

18 Dec 15:14
494bb0d

Choose a tag to compare

Added TTY support for --exec

--exec now uses the shell script to execute commands instead of Go; this enables TTY applications to work as expected.

ExportSSOToken Configuration and --export-sso-token Flag

@cedieio has introduced the --export-sso-token flag, which exports the SSO token to ~/.aws/sso/cache. The ExportSSOToken configuration automatically exports the SSO token by default.

Change in EKS set up

The command field in your ~/.kube/config needs to be changed to assume from assumego. Follow docs here

What's Changed

  • Allow access token to be exported to plain text on ~/.aws/sso/cache by @cedieio in #518
  • fix(fish_alias): fix assume script path for fish alias for brew by @Mallear in #561
  • support exec using shell script for TTY applications by @JoshuaWilkes in #549
  • Ensure proper initialization of profiles with source_profile by @XargsUK in #559
  • Do not overwrite AWS config when sync fails by @sosheskaz in #569
  • 🐛 Fix SSO token lookup keys by @cedieio in #565
  • 🔧 Add ExportSSOToken config by @cedieio in #566

New Contributors

Full Changelog: v0.20.3...v0.20.4

v0.20.3

27 Nov 19:19
fafdde5

Choose a tag to compare

Generate JSON output for SSO token expiry

Run granted sso-tokens expiry --json to print the SSO token expiry in JSON. Additionally, you can use jq to filter and display only the expired tokens in JSON format: granted sso-tokens expiry --json | jq -r '[.[] | select(.is_expired == true)]'

What's Changed

New Contributors

Full Changelog: v0.20.2...v0.20.3

v0.20.2

07 Nov 04:12
158fa38

Choose a tag to compare

What's Changed

Downgrades aws config package and dependency ini due to a performance regression causing large config files to hang

Full Changelog: v0.20.1...v0.20.2

v0.20.1

07 Nov 04:11
5ba0db6

Choose a tag to compare

What's Changed

Full Changelog: v0.20.0...v0.20.1

v0.20.0

06 Nov 07:18
98f3908

Choose a tag to compare

--chain flag for Inline Role Assumption

You can now use the new --chain flag to assume another role inline. This feature can be utilized in conjunction with either the --exec option or as part of a regular profile definition.

assume <base-profile> --chain arn:aws:iam::12345678912:role/aws-example --exec -- aws sts get-caller-identity

or

assume <base-profile> --chain arn:aws:iam::12345678912:role/aws-example

DefaultExportAllEnvVar config

You can now include the DefaultExportAllEnvVar=true configuration in your ~/.granted/config file. This configuration will enable the automatic export of all environment variables by default when credential_process is used.

ExportCredsToAWS config

You can also include the ExportCredsToAWS=true configuration in your ~/.granted/config file. This will enable credentials to be exported to ~/.aws/credentials by default.

What's Changed

Full Changelog: v0.19.2...v0.20.0

v0.19.2

20 Oct 21:38
733d020

Choose a tag to compare

What's Changed

  • revert change to validation by @JoshuaWilkes in #523
  • fix chrome profiles not launching if they contain slashes + automatically rename Chrome profiles by @chrnorm in #525

Full Changelog: v0.19.1...v0.19.2

v0.19.1

19 Oct 15:20
1b7fec3

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.19.0...v0.19.1