github common-fate/granted v0.1.8

latest releases: v0.34.2, v0.34.1, v0.34.0...
2 years ago

What's Changed

New Contributors

Full Changelog: v0.1.7...v0.1.8

Download this release by following our getting started guide.

This new release of Granted includes a number of high priority fixes and improvements.

Additions and Features:

  • We heard from many in the community that Windows functionality was a high priority, so we are happy to announce that we have added Granted support for Windows Command Prompt and Powershell.

    • By default, terminal colours are disabled in Command Prompt, to get full coloured output in Command Prompt run this before running granted commands set NO_COLOR=
    • Thanks to our community members DavidSandoval, ShaykiAbramczyk for highlighting the issue.
  • In the case that assume -c fails to open the browser Assume will fall back to returning the access URL via the CLI.

    • We have also added the -u flag which can be included when assuming a role to grab that URL manually.
  • Added a flag to Assume to unset exported AWS environment variables

    • assume -unset
  • Added flag to Assume to allow pass-through flags

    • Passthrough flags are useful if you are using one of the custom SSO credential providers like aws-azure-login or aws-google-auth and want to use some functionality that that tool provides in their CLI.

    Using the -pt or --pass-through flag will allow you to pipe commands into that internal command.
    eg.
    assume role-a -pt --no-prompt
    under the hood will run :
    aws-azure-login —profile role-a —no-prompt

  • Added commands to the Granted binary to allow for management of SSO tokens and ability to reset Granted configs

    • List all tokens currently saved in the store
      • granted token
      • granted token list
    • Remove a token from the local store
      • granted token remove
      • granted token remove profile_name
    • Remove all tokens from the local store
      • granted token remove --all
    • Remove all granted config (deletes the ~/.granted folder), unsets alias
      • granted uninstall

Bug Fixes:

  • Fixed a problem stopping users from assuming roles with MFA.
  • Added expandable global services list for opening up services using Assume
  • Fixed a bug causing the global flags to be mutated due to being pointers, this led to unexpected behaviour and duplication of stringSlice flags values in the assume command
  • Fixed a problem where Granted was checking for cached environment variables for aws-azure-login rather than in the .aws/credentials file

Don't miss a new granted release

NewReleases is sending notifications on new releases.