Configure a secure connection to Oracle Cloud Infrastructure
IT Asset Management
(Cloud)
Complete the following steps to configure a secure connection to Oracle Cloud Infrastructure.
See Required Keys and OCIDs for more information in the
Oracle Cloud Infrastructure documentation.
- Set up a SSL key pair:Important: Both the private key and public key must be in PEM format (not SSH-RSA format) and have a minimum of 2048 bits. The public key in PEM format should resemble the following:
-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQE... ... -----END PUBLIC KEY-----
Tip: To increase the security of your API keys, we recommend that you append an extra line with "OCI_API_KEY" at the end of the private key. If you or someone in your organization accidentally commits the private key to a public GitHub repository, OCI will notify you to take corrective actions. The private key in PEM format with the label should resemble the following:-----BEGIN PRIVATE KEY----- MIIBIjANBgkqhkiG9w0BAQE... ... -----END PRIVATE KEY----- OCI_API_KEY
- Create a directory on the Beacon server that will contain the SSL keys.Important: Oracle recommends to store the key pair in a
.oci
subfolder of the user’s home directory. - Open the Oracle Cloud Infrastructure Console, and sign in.
- View the user's details:
- If you are adding an API key for yourself:
- Open the Profile menu and click My profile.
- If your are an administrator adding an API key for another user: Open the navigation menu and click Identity & Security. Under Identity, click Users. Locate the user in the list, and then click the user's name to view the details.
- If you are adding an API key for yourself:
- In the Resources section at the bottom left, click API Keys.
- Click Add API Key at the top left of the API Keys list. The Add API Key dialog displays.
- Click Download Private Key and save the key to your created
directory. In most cases, you do not need to download the public key.Note: If your browser downloads the private key to a different directory, be sure to move it to your created directory.
- Click Add.
- The key is added and the Configuration File Preview is displayed.
The file snippet includes required parameters and values you will need in order to create
your configuration file. Copy and paste the configuration file snippet from the text box
into a
config
file in your created directory. - After you paste the file contents, you'll need to update the
key_file
parameter to the location where you saved your private key file.
IT Asset Management (Cloud)
Current