5.5 Shared Keys

A shared key can be any key value that an organization requires to share with their users. For example, Windows license keys, SSH host keys, and so on.Consider a scenario in which an administrator has to share one license key with multiple users. This is a manual process and requires a lot of effort. Using the Key Checkout feature, an enterprise administrator or a Privileged Account Manager administrator can create this license key as a shared key and share it with single or multiple enterprise users.The shared keys are securely saved within a domain for easy access to the same type of keys in one place. If a rule is created for a key checkout, single or multiple users can access the same key based on the configuration.When the shared keys are configured for privileged users, they can access the keys from the user console.

5.5.1 Types of Shared Key

Privileged Account Manager provides three default and a custom key types. These types are created for the quick and easy grouping of the shared keys. The key types include some definite set of fields for the key values. The list of the types of shared keys are as following:

  • SSH Key: This key type consists of the fields that are used in communicating with Secure Shell. You can use this key type for any key that may require the same fields. The SSH key type contains the following fields for the shared key:

    • Name

    • Private Key

    • Passphrase

  • Windows Key: This key type includes the fields that are used in a Windows key. You can use this key type for the keys that require the similar fields that are used in a Windows key. The Windows key type contains the following fields:

    • Name

    • Key

  • VMWare Key: This key type is same as Windows key type. This key type can be used for creating a separate group where you can add the keys that have the values similar to VMware key. The VMWare key type contains the following fields:

    • Name

    • Key

  • Custom Key: This key type is helpful in adding additional custom fields for a key value. The custom key type contains the following fields:

    • Name

    • Key

    • Custom field (any number of custom fields that are required for a key can be added.)

5.5.2 Enabling the Key Checkout for Shared Key

You can create a rule to enable key checkout for privileged users. This rule enables the privileged users to simultaneously check out the available key until the key usage exceeds the user limit. You can use the policy templates such as, SSH Key CheckIn-CheckOut, Windows Key CheckIn-CheckOut, and VMWare Key CheckIn-CheckOut for key checkout then, customize it as per the requirement.

To enable key checkout, perform the following:

  1. Configure the shared Key.

    For more information about configuring a shared key, see the Contextual Help of Credential Vault.

  2. In the navigation bar, click Consoles > Command Control.

  3. Create a rule at a required level. For more information about rules, refer Rules.

    You can also use the default policy template instead of creating a new rule.

  4. Create a new command by using the Key_<domain type> command. Where, domain type is the name that you specify for the type of the shared key domain.

    or

    use any of the following default commands and modify the fields as per the requirement:

    • SSH Key Check Out

    • Windows Key Check Out

    • VMWare Key Check Out

    If you selected Create Command for Custom Key while configuring shared key, the command is created with the same name as the domain type.

  5. Modify the created rule with the required details.

    Account Domain: Leave this field blank.

    Credentials: Leave this field blank.

    Run User: If you want users to use only a specific key, specify the shared key name. If you want other users to use the different keys available in a domain, specify the asterisk (*) symbol.

    Run Host: Specify the shared key domain.

    If the key domain has the user option enabled in Shared Key Resource of Credential Vault, different users can simultaneously check out the same key that is specified in the domain.

    Risk Level: Set a Risk Level of 0 to 99. This option allows you to set a value representing the relative risk of a rule with the session auditing option (see cpcksh). When viewing a Command Control Keystroke Report, you see commands controlled by rules with different risk values represented in different colors.

    Audit Group: Define an Audit Group. This setting is for use in Compliance Auditor reports.

NOTE:For enabling Shared Key through Access Control, refer Checkout Options.

5.5.3 Managing Credentials for Shared Key

When you add a single or multiple shared keys to a domain, users can checkout those keys simultaneously based on how many users can access the shared key.

You can use the shared key feature to share any type of value with single or multiple users. The following are the scenarios to manage shared keys:

multiple keys for various users: You can define multiple keys in a domain for multiple users, and each shared key can have a maximum user limit. During the checkout process, multiple users can checkout any of the available keys. The same key can be used multiple times till it reaches the user limit. For allowing other users. The users must check in the key. To configure multiple users, refer Types of Accounts Discovered.

Single key for multiple users: You can define a single key in a domain for multiple users and assign the maximum user limit. During the checkout process, multiple users can checkout the same key till the key usage reaches the maximum limit. After reaching the maximum usage, Privileged Account Manager does not allow further checkout of the keys. A succeeding user can check out the key only after a user checks in the key.

Privileged Account Manager does not reset the values for the shared key when users check in the key. This is called key check-in.