Registry Credentials

Create a registry credential

Changed on

Saves a registry login for the org: basic takes username and password; aws_ecr takes accessKeyId, secretAccessKey and region; gcp_gcr takes serviceAccountKey. A missing credential field, or an unknown authType, returns 400. The credentials are stored encrypted, and the response is the credential's summary without them.

Requires the registry.write permission. See Permissions for the roles and API key permissions that include it.

post/v1/orgs/{orgId}/registry-credentials/create

Request

  • Base URL
    https://api.openrelay.inc
  • URL
    https://api.openrelay.inc/v1/orgs/{orgId}/registry-credentials/create
  • Auth
    HTTP bearer

Path parameters

orgIdstring required

Request body

authType'basic' | 'aws_ecr' | 'gcp_gcr' required
credentialsobject required
namestring required
serverstring required

Response

Created

authTypestring required
createdAtstring required
idstring required
namestring required
serverstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status