The easiest way to access your cloud.
--exec
--exec
now uses the shell script to execute commands instead of Go; this enables TTY applications to work as expected.
--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.
The command
field in your ~/.kube/config
needs to be changed to assume
from assumego
. Follow docs here
Full Changelog: https://github.com/common-fate/granted/compare/v0.20.3...v0.20.4
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)]'
Full Changelog: https://github.com/common-fate/granted/compare/v0.20.2...v0.20.3
Downgrades aws config package and dependency ini due to a performance regression causing large config files to hang
Full Changelog: https://github.com/common-fate/granted/compare/v0.20.1...v0.20.2
Full Changelog: https://github.com/common-fate/granted/compare/v0.20.0...v0.20.1
--chain
flag for Inline Role AssumptionYou 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
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.
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.
Full Changelog: https://github.com/common-fate/granted/compare/v0.19.2...v0.20.0
Full Changelog: https://github.com/common-fate/granted/compare/v0.19.1...v0.19.2
-x
alias for --export-all-env-vars
by @dlambda in https://github.com/common-fate/granted/pull/520
Full Changelog: https://github.com/common-fate/granted/compare/v0.19.0...v0.19.1
Granted now supports Waterfox, thanks to @dowster! Run granted browser set
and choose the option to update your browser preference.
We've introduced automatic credential refresh when assuming roles that use the credential process. Now by default, we export only the AWS_PROFILE
environment variable. If you want to export all variables, you can use the --export-all-env-vars flag
when running assume.
codepipeline
and codedeploy
services by @Jeff-SearchPilot in https://github.com/common-fate/granted/pull/510
Full Changelog: https://github.com/common-fate/granted/compare/v0.18.0...v0.19.0
Now, the formatting in .aws/config is preserved for commands such as:
s3 =
max_concurrent_requests = 100
max_queue_size = 10000
no-credential-process
FlagThe no-credential-process
flag has been reinstated in the granted sso populate
command. We apologize for its accidental removal.
Full Changelog: https://github.com/common-fate/granted/compare/v0.17.1...v0.18.0
Full Changelog: https://github.com/common-fate/granted/compare/v0.17.0...v0.17.1