Granted can be used with Common Fate for just-in-time access to privileged AWS roles.
Prerequisites
For this recipe, you’ll need a Common Fate deployment. Email us or message us on Slack to arrange a Common Fate licence key for a proof-of-concept deployment.
You’ll also need Granted v0.23.0 or later installed.
You can use Granted to request just-in-time access to roles. Internally, we use AWS credential_process to source credentials through Granted.
You will need to update each role you want to request access to with the following configuration:
Providing the common_fate_url is optional. If it is not provided, Granted will look up the Common Fate API URL from the Common Fate TOML config file.
Now, try assuming a profile that you don’t currently have access to. For example:
You should see an output similar to the below, depending on the authorization policies you’ve configured in Common Fate.