7.6 Configuring Just-in-Time Access

You can grant privileged access to an application or system to users in real-time using the just-in-time (JIT) access methodology to complete a particular task.

7.6.1 Configuring Just-in-Time Access For AWS Resource

The user fetches the AWS token from the Privileged Account Manager to log into the AWS workspace to access the dynamic secret for a specific resource delegated by the Administrator. Follow the procedure to configure.

  1. On the home page of Privileged Account Manager, click Credential Vault

  2. Click Add +

  3. Select Cloud > Amazon Web Services

  4. In the General page, add the Domain name as AWS Resource

  5. In the Connection Details page, add the following:

    • Sign-In URL for IAM users

    • Region

    • Password Policy

    • Vault Host: AWS IP

    • Vault Region: Ex: Mumbai

  6. In the Password Management page, select the Reconcile Account Credential.

  7. Optionally add the extended attributes and the Reconcile Credential.

  8. In Template page add the credential required for dynamic secret configuration.

    Checkbox or UI string with the following information:
    account": "aws-user5",
    "type": "dyn_ephemeral",
    "privilege_type": "shift-leader",
    "ttl": 30

    The Administrator assigns delegated policies using Access control.

  9. Log into Privileged Account Manager.

  10. Click on My Access.

  11. Retrieve username and password.

  12. This secret is used to log into the AWS console and access a specific resource along with details such as AWS account Active, password Age, and Active key information.

7.6.2 Configuring Just-in-Time Access For PKI Resource

Dynamic certificates for X.509 are produced by the PKI secrets engine. With this secrets engine, services can obtain certificates without going through the typical manual procedure of generating a private key and CSR, submitting to a Certificate Authority, and waiting for a verification and signing process to finish. The functionality for verification is provided by the internal authentication in Privileged Account Manager.

  1. On the home page of Privileged Account Manager console, click Credential Vault.

  2. Click Add +

  3. Select Certificate Issuer > PKI.

  4. In the General page, add the Domain name as PKI Resource. Click Next.

  5. In the Certificate Authority page, enter the following details:

    • Select Import to import the certificate

    • Enter the CA Certificate Name

    • Enter the Passphrase

  6. Optionally add the Extended Attributes and the Reconcile Credential.

  7. Add the attributes.

The certificate and the key are generated. User uses it from Privileged Account Manager user console by clicking My Access > Read Secret.

7.6.3 Configuring Just-in-Time Access for SSH Certificate User

To achieve this requirement, perform the following tasks:

  1. On the home page of Privileged Account Manager console, click Credential Vault.

  2. Click Add +

  3. Select Certificate Issuer > SSH.

  4. In the General page, add the Domain name as SSH Resource. Click Next.

  5. In the Certificate Authority page, enter the following details to import the Certificate:

    • Select Import to import the certificate

    • Enter the CA Certificate Name

    • Enter the Passphrase

  6. To create a new Certificate Authority, enter the following details:

    • Certificate Name: Name of the Certificate, ex: ca-cert.

    • Key Type: Type of key, ex: ed25519

    • Key Size: Size of the key, ex: 256

  7. Optionally add the Extended Attributes.

  8. Add the attributes.

  9. Click Finish.

  10. Go to Credential Vault > Resources > Resource Details, export the certificate from CA Certificate field.

  11. Configure the exported certificate in the target server.