OCI Credentials
Foundation plugin Set this up secondThis plugin stores shared, organization-managed Oracle Cloud Infrastructure API signing keys: a tenancy OCID, a user OCID, and an RSA keypair (the private key, plus an optional passphrase). These are the credentials Mastermind uses, on your behalf, to call OCI APIs for discovery, inventory, and metadata syncing across the rest of the app.
Every credential set entered here is intended to be read-only / discovery-grade access — it's what powers Metadata sync, OCI Inventory, and cluster discovery. It is deliberately kept separate from any privileged, provisioning-capable credential used for actions that create or modify real infrastructure (such as creating a node pool) — those use a different, more tightly-scoped credential mechanism configured elsewhere, specifically so that a broadly-held "read everything" credential is never the same one capable of spending money or changing infrastructure.
Security model
The private key and passphrase are encrypted at rest. They are never shown back to you in the normal credential list or edit view — only a dedicated "Reveal" action, gated by its own stronger permission (separate from the general "view credential metadata" permission), will ever decrypt and display the actual key material. Most users with ordinary access to this page will see that a credential set exists and its non-sensitive metadata (tenancy/user OCID, region, an optional default customer), but not the key itself.
Core workflow
- Open OCI Credentials and click "Add Credential."
- Enter a label, the tenancy OCID, the user OCID, the region, and paste the RSA private key PEM (and passphrase, if the key has one).
- Optionally set a default customer for this tenancy — this is used by OCI Inventory & Usage to attribute discovered resources to a customer by default.
- Save. The credential is now available to be selected anywhere else in Mastermind that needs to authenticate to this tenancy: Metadata sync, cluster discovery, and the nightly OCI Inventory sync job.
- Go to the same page's "Sync Metadata" button to immediately discover that tenancy's container registries and object storage buckets (see Metadata) — this is the one sync you can trigger on demand from here; broader resource inventory runs on a nightly schedule instead (see OCI Inventory & Usage).
Moving a tenancy to another Mastermind instance
The Export Tenancy button next to each credential set hands off to the Tenancy Migration plugin, which gathers this tenancy's credentials, clusters, and deployment sets (including secret values) into one passphrase-encrypted file a separate Mastermind instance can import to take over managing it. See that page for the full workflow.
Rotating a key
Edit the credential set and paste in the new private key (and passphrase, if changed). Leaving the key field blank on an edit keeps the currently-stored key unchanged — you don't have to re-enter it just to change the label or default customer.
Permissions
read (view credential metadata, excluding key material), manage
(create/update/delete credential sets), and reveal (decrypt and display the
actual private key and passphrase) — kept intentionally separate and stronger than
read/manage, since very few people should ever need to see the
raw key material rather than just know a credential exists and works.