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 and 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.

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 and click Next.

  5. Perform one of the following to apply the certificate:

    • If you have the valid CA certificate, to import the certificate perform the following steps:

      1. Click Import.

      2. Specify CA Certificate Name and Passphrase.

    • To create a Certificate Authority, specify the following details:

      1. Certificate Name: Name of the certificate.

        For example, ca-cert

      2. Key Type: Type of public key.

        For example, ed25519

      3. Key Size: Size of the key.

        For example, 256

      NOTE:The certificate and the key are generated with the provided details.

  6. (Optional) add the Extended Attributes.

  7. Add the attributes.

  8. Click Finish.

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

  10. Configure the exported certificate in the target server.