Skip to main content
GET
/
project
/
{projectId}
/
integrations
/
harbor
/
container-registry
/
credentials
List stored Harbor credentials
curl --request GET \
  --url https://us.cybedefend.com/project/{projectId}/integrations/harbor/container-registry/credentials \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "harborUrl": "https://harbor.example.com",
    "harborProject": "my-project",
    "username": "robot$my-project+deploy",
    "createdAt": "2025-01-01T00:00:00Z",
    "description": "Production Harbor registry"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string<uuid>
required

CybeDefend project ID

Example:

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

Response

List of Harbor credentials

id
string
required

Credential ID

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

harborUrl
string
required

Harbor server URL

Example:

"https://harbor.example.com"

harborProject
string
required

Harbor project name

Example:

"my-project"

username
string
required

Username

Example:

"robot$my-project+deploy"

createdAt
string
required

Creation date

Example:

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

description
string

Description

Example:

"Production Harbor registry"