Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

CCKM Administration

Oracle Cloud Resources

search

Please Note:

Oracle Cloud Resources

Oracle Cloud Infrastructure (OCI) resources include vaults and keys. Manage OCI keys stored in vaults linked to your OCI accounts using CCKM.

Prerequisites

Before you can manage OCI resources on CCKM:

  1. Get an OCI Account

  2. Create an OCI User Group

  3. Apply Policies to the User Group

  4. Create a User in the User Group

  5. Create an OCI Vault

  6. Create an API Key for the User

  7. Add OCI Connection on CipherTrust Manager

Click each link to view details.

Get an OCI Account

Sign up with OCI. When signing up, you need to specify a name for your cloud account (referred to as tenancy in OCI) and OCI credentials (username and password). These are required to access the OCI resources.

Steps on this page are documented for the username and password based authentication. If Single Sign-On (SSO) configured for your COI accounts, steps to log on might differ.

To log on to OCI:

  1. Open the Oracle Cloud Sign In page.

  2. Enter your tenancy name in the Cloud Account Name field.

  3. Click Next.

  4. Enter your User Name and Password.

  5. Click Sign In.

Access permissions on a compartment are controlled at the user group level. So, first of all, you need to add an OCI user group. Then, you can apply policy to this user group, and add new users to the group.

Create an OCI User Group

To create an OCI user group:

  1. Open the navigation menu and click Identity & Security. The Identity & Security page is displayed.

  2. Under Identity, click Groups.

  3. Click Create Group. The Create Group dialog box is displayed.

  4. Enter a unique Name for your group, for example, cckm-group.

    The name cannot contain spaces.

  5. Enter a Description for your group.

  6. Click Create.

The OCI group, cckm-group is created. Now, you can apply appropriate policies to this group to grant it permissions to manage vaults and keys in your compartments.

Apply Policies to the User Group

Create the policy to give your group (cckm-group, created above) permissions in your compartment.

  1. Open the navigation menu and click Identity & Security. The Identity & Security page is displayed.

  2. Under Identity, click Policies.

  3. In the left, under List Scope, make sure that your compartment is selected. The Policies in <your-compartment> (root) Compartment page is displayed.

  4. Click Create Policy. The Create Policy page displayed.

  5. Enter a unique Name for your policy, for example, cckm-policy.

    The name cannot contain spaces.

  6. Enter a Description for your policy.

  7. In the Policy Builder section, click Show manual editor.

  8. In the text field under Policy Builder, enter the following:

    Syntax

    1
    2
    Allow group <group-name> to manage vaults in compartment <compartment-name>
    Allow group <group-name> to manage keys in compartment <compartment-name>
    

    These statements grant a user group the permissions to manage vaults and keys in the specified compartment.

    Example

    1
    2
    Allow group cckm-group to manage vaults in compartment cckm-compartment
    Allow group cckm-group to manage keys in compartment cckm-compartment
    

    These statements grant members of your user group (cckm-group) the access to manage vaults and keys in your compartment.

  9. Click Create.

Create a User in the User Group

To create an OCI user:

  1. Open the navigation menu and click Identity & Security. The Identity & Security page is displayed.

  2. Under Identity, click Users. The Users page is displayed.

  3. Click Create User. The Create User dialog box is displayed.

  4. Enter a unique Name for the user, for example, cckm-user.

    The name cannot contain spaces.

  5. Enter a Description for the user.

  6. (Optional) Specify and confirm email of the user.

  7. Click Create.

The OCI user, cckm-user is created and displayed on the Users page. Now, you can add this user to the user group you created earlier. The user will inherit the permissions granted to its user group.

To add the user to a group:

  1. Click the Name link of your user. The user details are displayed.

  2. Navigate to the Groups section.

  3. Click Add User to Group. The Add User to Group dialog box is displayed.

  4. From the Groups drop-down list, select the desired group (for example, cckm-group). The drop-down list shows the available user groups.

  5. Click Add.

The OCI user, cckm-user is added to the selected user group. The user now inherits the permissions granted to the linked user group.

Create an OCI Vault

OCI keys reside inside vaults. Only the users of the group with permissions to manage vaults can create vaults.

To create an OCI vault:

  1. Open the navigation menu.

  2. Click Identity & Security > Vault.

  3. In the left, under List Scope, in the Compartment list, click the name of the compartment where you want to create the vault.

  4. Click Create Vault. The Create Vault dialog box is displayed.

  5. Enter a display Name for the vault, for example, cckm-vault. Avoid entering confidential information.

    Optionally, make the vault a virtual private vault by selecting the Make it a virtual private vault check box. For more information about vault types, refer to Key and Secret Management Concepts.

    You cannot change the vault type after the vault is created.

  6. If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, refer to Resource Tags. If you are not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator.

  7. When you are finished, click Create Vault.

The newly created vault is displayed in the list of vaults.

Create an API Key for the User

Now, you need to create an API key for your user so that the user can add OCI connection and manage vaults and keys. When you create the key, you will get authentication information needed to add an OCI connection to the CipherTrust Manager.

To add an API key for the user:

  1. Open the navigation menu and click Identity & Security. The Identity & Security page is displayed.

  2. Under Identity, click Users. The Users page is displayed.

  3. Click the Name link of your user. The user details are displayed.

    Alternatively, click the Profile icon in the top right corner, and click the user name link.

  4. In the left pane, under Resources, click API Keys. The API Keys section is displayed under the user details.

  5. In the API Keys section, click Add API Key. The Add API Key screen is displayed.

    An API key is an RSA key pair in PEM format used for signing API requests. You can generate the key pair here and download the private key. If you already have a key pair, you can choose to upload or paste your public key file instead. In this section, you will generate a new API key pair.

  6. Select Generate API Key Pair.

  7. Click Download Private Key. A private key file is downloaded in the PEM format.

  8. Click the Download Public Key link to download the associated public key.

  9. Click Add. The Configuration File Preview dialog box is displayed.

    This configuration file snippet includes the authentication information such as OCID of the user and tenancy, fingerprint, and region. You will need this information when adding an OCI connection to the CipherTrust Manager.

  10. Click Close to close the screen.

The newly added API key is displayed under the API Keys section. To view the key details later, visit the API Keys section, click the overflow icon corresponding to the key, and click View Configuration File.

Add OCI Connection on CipherTrust Manager

Before you can add an Oracle vault to the CCKM, a connection to your OCI account must exist on the CipherTrust Manager. After you have created an API key for the user, add a connection to the OCI account.

A CipherTrust Manager administrator manages connections to external resources on the Access Management > Connections Management page of the CipherTrust Manager GUI. Refer to Connection Manager for details.

What Next?

After completing the prerequisites, you can view linked Oracle vaults and manage keys on the CipherTrust Manager.

This release supports management of the Oracle Cloud Infrastructure (OCI) resources using the CipherTrust Manager API. Refer to Oracle Cloud APIs for details.