How to connect an Oracle Cloud account
- 1 minute to read
- Print
- DarkLight
- PDF
How to connect an Oracle Cloud account
- 1 minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
In this document, you will learn how to connect an Oracle Cloud (OCI) compartment to the Cloud Entitlements, including all users and groups under the compartment.
Requirements
An OCI account with permission to generate API keys.
A group with policies with the following statements:
Allow group <group_name> to read users in tenancy
Allow group <group_name> to read groups in tenancy
Allow group <group_name> to read policies in tenancy
For more information on creating a group with policies, see Creating a Group and Creating a Policy.
Generate an API key for a user in Oracle Cloud
- Access your Oracle Cloud Infrastructure account.
- Click the Profile icon > My profile.
- In Resources, click API keys.
- Click Add API key.
- Select Generate API key pair.
- Click Download private key, and click Add.
- Copy the contents of the file preview. It should be in the following format:
[DEFAULT]
user=<user_ID>
fingerprint=<RSA_fingerprint>
tenancy=<tenancy_ID>
region=<OCI_region>
key_file=<path_to_your_private_keyfile>
Connect an OCI organization
- Go to Cloud Entitlements.
- In the left menu, click Setup, and select Oracle Cloud (OCI).
- Click + Connect.
- Fill in the following fields according to the configuration file:
- Name*: enter a name.
- User*: enter the value of user from the configuration file.
- Region*: select the region shown in the configuration file.
- Fingerprint*: enter the value of fingerprint from the configuration file.
- Compartment ID*: enter the value of tenancy from the configuration file.
- Tenancy*: enter the value of tenancy from the configuration file.
- Passkey phrase: if set during the creation of the API key, add the passphrase for the .pem file.
- Tags: enter tags to identify the organization.
- Attach the private key file you downloaded previously.
- Click Save.
If connected successfully, your OCI compartment will appear in the list of connected accounts. Otherwise, you must restart the process by using another API key in Oracle Cloud. You can't connect a compartment that is already connected to Cloud Entitlements.
Do you still have questions? Reach out to the senhasegura Community.
Was this article helpful?