Skip to content
Get audited access to RDS databases without a VPN using the Granted RDS Plugin. Learn more here.

Automatically reassume roles (ZSH)

By default Granted will assume a given role for 1hr. This can be altered by passing the --duration flag, or by specifying a duration_seconds prop in your config file. This means that after a given hour of activity, you will need to re-run assume to get a new set of credentials.

If you would like to automatically reassume roles, with ZSH you can you can add the following to your ~/.zshrc:

Terminal window
export GRANTED_ENABLE_AUTO_REASSUME=true