Kubernetes Playground for Oracle Container Engine for Kubernetes (OKE)
Using the OCI Console just to get your credentials, you can do everything using just APIs.
Using the Collections to make API calls
Get OCI Credentials
- tenancy_ocid: OCID of your tenancy.
To get the value, see Required Keys and OCIDs.
Example:
ocid1.tenancy.oc1..<unique_ID>
(shortened for brevity)
- user_ocid: OCID of the user calling the API.
To get the value, see Required Keys and OCIDs.
Example:
ocid1.user.oc1..<unique_ID>
- fingerprint: Fingerprint for the public key that was added to this user.
To get the value, see Required Keys and OCIDs.
- private_key: Contents of the private key file.
You can open the file in an editor and copy the contents or use a command like
pbcopy < ~/.oci/oci_api_key.pem
The key pair must be in PEM format. For instructions on generating a key pair in PEM format, see Required Keys and OCIDs.
- passphrase: Passphrase used for the key. Only required if it key is encrypted.
- region: An Oracle Cloud Infrastructure region. See Regions and Availability Domains.
Example:
us-ashburn-1
- compartment_ocid: OCID of the compartment that will be used for the API calls.
Fork, Select and Update OCI Credentials Environment
Fork and Update the
OCI Credentials
Qodex Environment Variables with your Oracle Cloud Infrastructure credentials information.
Walk-through video for the End-to-End example from Qodex Live event