latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
Registry

Returns current account credentials or secret details for the registry.

get/orgs/{orgId}/registries/{regId}/creds

Path parameters

orgIdstring required

Unique (alpha-numerical) organization identifier.

regIdstring required

Unique (alpha-numerical) registry identifier.

Response

Current account credentials or secret details for the registry.

expiresstring nullable

Account credentials expiration timestamp.

passwordstring

Account password or token secret.

registrystring required

Registry name, usually in a "{domain}" or "{domain}/{project}" format.

secretsClusterSecretsMapResponse

ClusterSecretsMap stores a list of Kuberenetes secret references for the target deployment clusters.

usernamestring

Security account login or token.

Example response

{
  "expires": "2020-05-22T14:53:27Z",
  "password": "",
  "registry": "registry.io/project",
  "secrets": {
    "*": {
      "namespace": "dev-secrets",
      "secret": "custom-regcred"
    },
    "cluster-A": {
      "namespace": "prod-secrets",
      "secret": "custom-regcred"
    }
  },
  "username": ""
}