Skip to main content
POST
/
organization
/
{organizationId}
/
integrations
/
quay
/
container-registry
/
credentials
Store Quay Container Registry credentials
curl --request POST \
  --url https://us.cybedefend.com/organization/{organizationId}/integrations/quay/container-registry/credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "097bbbf4-d1eb-4512-9950-684445279808",
  "jfrogUrl": "https://mycompany.jfrog.io",
  "repositoryKey": "docker-local",
  "username": "[email protected]",
  "password": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "description": "Production JFrog Artifactory registry"
}
'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "quayNamespace": "myorganization",
  "robotUsername": "myorganization+deploy_robot",
  "quayHost": "quay.io",
  "createdAt": "2025-01-01T00:00:00Z",
  "description": "Production deployment credentials"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string<uuid>
required

CybeDefend organization ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Quay.io robot account credentials

projectId
string
required

CybeDefend project ID to associate this credential with

Example:

"097bbbf4-d1eb-4512-9950-684445279808"

jfrogUrl
string
required

JFrog Artifactory URL (e.g., https://mycompany.jfrog.io)

Example:

"https://mycompany.jfrog.io"

repositoryKey
string
required

Docker repository key in JFrog

Example:

"docker-local"

username
string
required

JFrog username or email

password
string
required

JFrog password or API key/identity token

Example:

"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

description
string

Optional description for the credentials

Example:

"Production JFrog Artifactory registry"

Response

Quay Container Registry credentials stored successfully

id
string
required

Credential ID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

quayNamespace
string
required

The Quay.io namespace

Example:

"myorganization"

robotUsername
string
required

The Quay.io robot account username

Example:

"myorganization+deploy_robot"

quayHost
string
required

The Quay.io registry host

Example:

"quay.io"

createdAt
string
required

Creation date

Example:

"2025-01-01T00:00:00Z"

description
string

Description

Example:

"Production deployment credentials"