Configure JIT Access to the AWS Console
Providing just-in-time access to the AWS console with authenticated SSO Launch URLs and session recording

Overview
Using Keeper Privileged Cloud, when a user launches an RBI session on an AWS linked cloud resource record, Keeper automatically signs in the user to the AWS Management Console. No password required.
This works with both JIT ephemeral accounts and existing AWS users.
Before you start
Set up the PAM configuration as outlined in AWS Environment Setup, and connect the corresponding gateway.
Make sure the record's URL is pointed to the correct AWS console, such as
https://console.aws.amazon.com/(orhttps://console.amazonaws-us-gov.com/for GovCloud). If the URL points somewhere else, or the account is in an AWS China region, the session still opens but lands on the regular AWS login page.To use ephemeral accounts, make sure to check the "create ephemeral account for connection" box in the record's JIT settings, and validate the permissions the account should receive.

Launching a session
That's everything the user does. The rest happens in the background.

What happens behind the scenes

When the session ends
A session ends when the JIT timer runs out or when the user closes the RBI session. The KeeperPAM Gateway then removes what it created:
Ephemeral user: The user is deleted from AWS, and its access key goes with it.
Existing user: The gateway deletes the access key it created for the session. The user account and any access keys it already had are left alone.

Troubleshooting
The user already has two access keys
AWS limits each user at two access keys. If an existing user already has two, the gateway can't add the temporary one, so the SSO launch URL can't be generated and the session doesn't start. The user sees this error:
Can't start the session: this launch credential's AWS user is already at the maximum of 2 access keys, so a temporary sign-in key can't be created. Remove an unused access key on that IAM user and try again.
To fix it, delete one of the user's access keys in AWS (IAM > Users > select the user > Security credentials > Access keys), then launch again. Check that nothing still depends on the key before you delete it. Deactivating the key isn't enough, because AWS counts inactive keys toward the limit.
Ephemeral users don't run into this. They start with no access keys.
The console takes a while to load
AWS needs a few seconds to recognize a new access key before it will issue a login link. Expect a short wait on every launch, and up to about 15 seconds for a brand-new ephemeral user.
Last updated

