When replication-manager provisions a cluster, it generates the cluster's credentials: the database users, replication, the proxy users, the sponsor and DBA users, and the database user of each app. Since the next release, the cluster's owner reads them all in one place.
Reading them never changes them. A Reveal is a read: no password is rotated, regenerated or refreshed by it, on any path. Rotating is a separate action, with its own confirmation (see Password Rotation).
The row is shown only to a user who holds the grant cluster-show-secrets.
Only the credentials that are set are shown, and a proxy's password only when that proxy is on.
| Credential | Setting |
|---|---|
| Database administration user | db-servers-credential |
| Replication user | replication-credential |
| Heartbeat user | monitoring-write-heartbeat-credential |
| Sponsor user, DBA user (Cloud18) | cloud18-sponsor-user-credentials, cloud18-dba-user-credentials |
| Proxies | proxysql-user / proxysql-password, haproxy-password, maxscale-pass, shardproxy-credential, myproxy-password, mysqlrouter-pass |
| Backup repository | backup-restic-password |
| Each app's database user | app-db-user / app-db-pass of the app |
| replication-manager administration login | admin in api-credentials: only for a user holding cluster-server-credentials on every cluster of the instance |
The instance's own secrets are never shown here. They belong to whoever runs
replication-manager, not to the cluster's owner. That covers the API users other than admin,
the git and registry tokens, Vault, OpenSVC, SSH, mail and alert tokens, and cloud keys.
cluster-show-secrets has the same holders as cluster-rotate-passwords: sysops,
extsysops, and the Cloud18 owner of the instance.GET /api/clusters/{clusterName}/secrets
The answer is {cluster, secrets: [{key, label, user, password}], instanceAdmin?}, sent with
Cache-Control: no-store.
api-cluster-secrets (default on). When it is off, the
endpoint answers 403 and the row is hidden.