Oracle Cloud Infrastructure Vault enables you to manage sensitive information when creating a server domain. A vault is a container for encryption keys and secrets.
In 21c and 188.8.131.52.6, you use secrets, created with the Vault UI. In your vault, you enter the password, and the latest version of it is stored as part of your key, in the Vault. You refer to it using the OCID of the secret. See Overview of Vault in Oracle Cloud Infrastructure documentation,
Note:If you're using an existing vault and have an encryption key already created, you can skip Create a New Vault and Create a New Encryption Key sections and move to the Create a New Secret section. Otherwise, you must create a vault and key first.
When you use Vault to encrypt credentials during provisioning, you need to create a secret. Passwords chosen for Essbase administrator and Database must meet the Resource Manager password requirements.
- Essbase Administrator Password
- IDCS application client secret
- Database system administrator password
Note:These steps explain how to create a virtual Vault, which is a lower-cost option than a private vault. New entities are needed only if they have not already been created.
- Sign in to the Oracle Cloud Infrastructure Console.
- In the navigation menu, select Security, and click Vault.
- Select your Compartment, if not already selected.
- Click Create Vault.
- For Name, enter
- For the lower-cost option, leave unchecked the option to make it a private vault.
- Click Create.
Note:The Vault Crypto Endpoint value can be retrieved for any future use, by clicking at any time on the newly created vault, as listed on the Vaults page.
Create a New Encryption Key
Go to the Vaults page, and create a new encryption key as follows.
- Select the newly created vault, for example,
OracleEssbaseVaultfrom the previous section.
- Select Master Encryption Keys in the left panel.
- Select Create Key and provide a name for the key, such as
- Click Create Key. This key is used during secret creation.
Create a New Secret
Go to the Vaults page. For each password, create a secret as follows.
- Click Secrets.
- Click Create Secrets.
- Enter the Name for the secret and a relevant Description.
- Select the new encryption key (created in the previous section), or an existing one. For example,
- Enter the password text in Secret Contents.
- Click Create Secret.
- For each created secret, click the related password and copy the OCID value for it, for later use in configuration.
To encrypt your Oracle Essbase Administrator password (for older versions):
- Convert the administrator password that you want to use for the Essbase domain to a base64 encoding.
For example, from a Linux terminal, use this command:
echo -n 'OracleEssbase_Password' | base64
- Run the
encrypt ocicommand using Oracle Cloud Infrastructure command line interface. Provide the following parameters:
- Vault Encryption Key OCID
- Vault Crypto Endpoint
- base64-encoded password
oci kms crypto encrypt --key-id Key_OCID --endpoint Cryptographic_Endpoint_URL --plaintext Base64_OracleEssbase_Password
- From the output, copy the encrypted password value for use in the deploy process, as shown here:
You also use vault encryption to encrypt your Database Password and your Client Secret.