Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Update documentation according to the latest Oracle Cloud UI #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ If you appreciate what I did please consider

## Generating API key

After logging in to [OCI Console](http://cloud.oracle.com/), click profile icon and then "User Settings"
After logging in to [OCI Console](http://cloud.oracle.com/), click profile icon and then "My Profile"

![User Settings](images/user-settings.png)
![image](https://github.com/RaistlinTAO/oci-arm-host-capacity/assets/8352780/22837a10-47ef-4eb1-9fe9-d0cfe3054875)

Go to Resources -> API keys, click "Add API Key" button

Expand All @@ -58,7 +58,16 @@ Make sure "Generate API Key Pair" radio button is selected, click "Download Priv

![Download Private Key](images/download-private-key.png)

Copy the contents from textarea and save it to file with a name "config". I put it together with *.pem file in newly created directory /home/ubuntu/.oci
Copy the contents from textarea and save the detail provided.
```
[DEFAULT]
user=ocid1.user.oc1..aaaafq
fingerprint=e6:33:4c:e7:80:db
tenancy=ocid1.tenancy.oc1..7rb6a
region=ap-singapore-1
```

Please pay attention to this section: the value of 'user' needs to be filled in the .env file as OCI_USER_ID, the value of 'region' needs to be filled in the .env file as OCI_REGION, the value of 'fingerprint' needs to be filled in the .env file as OCI_KEY_FINGERPRINT, and the value of 'tenancy' needs to be filled in the .env file as OCI_TENANCY_ID.

![Configuration File Preview](images/config-file-preview.png)

Expand Down