Skip to main content
GET
/
integrations
/
container-registry
/
organization
/
{organizationId}
/
credentials
Get all container registry credentials for an organization
curl --request GET \
  --url https://api-eu.cybedefend.com/integrations/container-registry/organization/{organizationId}/credentials \
  --header 'x-api-key: <api-key>'
{
  "github": {
    "available": true,
    "githubOwner": "CybeDefend"
  },
  "gitlab": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "dockerhub": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "acr": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "gcr": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "ecr": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "quay": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "harbor": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ],
  "jfrog": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "projectId": "550e8400-e29b-41d4-a716-446655440000",
      "name": "myregistry",
      "registryUrl": "https://index.docker.io/v1/",
      "createdAt": "2024-01-15T10:30:00.000Z",
      "description": "Production registry",
      "gitlabDetails": {
        "gitlabUrl": "https://gitlab.com",
        "registryPath": "group/project"
      },
      "dockerhubDetails": {
        "dockerhubUsername": "myusername"
      },
      "acrDetails": {
        "subscriptionId": "12345678-1234-1234-1234-123456789012",
        "resourceGroup": "my-resource-group",
        "registryName": "myregistry"
      },
      "gcrDetails": {
        "projectId": "my-gcp-project",
        "location": "gcr.io"
      },
      "ecrDetails": {
        "awsAccountId": "123456789012",
        "region": "us-east-1"
      },
      "quayDetails": {
        "quayOrganization": "myorg",
        "isSelfHosted": false
      },
      "harborDetails": {
        "harborProject": "myproject"
      },
      "jfrogDetails": {
        "artifactoryUrl": "https://mycompany.jfrog.io",
        "repositoryKey": "docker-local"
      }
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key for authentication. You can generate an API key from your personal settings.

Path Parameters

organizationId
string<uuid>
required

CybeDefend organization ID

Example:

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

Response

All container registry credentials retrieved successfully

github
object
required

GitHub Container Registry status (uses GitHub App, no stored credentials)

gitlab
object[]
required

GitLab Container Registry credentials

dockerhub
object[]
required

DockerHub credentials

acr
object[]
required

Azure Container Registry (ACR) credentials

gcr
object[]
required

Google Container Registry (GCR) credentials

ecr
object[]
required

Amazon Elastic Container Registry (ECR) credentials

quay
object[]
required

Quay.io credentials

harbor
object[]
required

Harbor credentials

jfrog
object[]
required

JFrog Artifactory credentials