curl --request GET \
--url https://api-eu.cybedefend.com/integrations/container-registry/organization/{organizationId}/credentials{
"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"
}
}
]
}Get all container registry credentials for an organization
Returns all container registry credentials for an organization, grouped by provider.
Supported providers:
- GitHub Container Registry (ghcr.io) - Uses GitHub App installation (no stored credentials, returns availability status)
- GitLab Container Registry - Personal/group deploy tokens
- DockerHub - Personal access tokens
- Azure Container Registry (ACR) - Service principal credentials
- Google Container Registry (GCR) - Service account JSON keys
- Amazon ECR - IAM access keys
- Quay.io - Robot account credentials
- Harbor - Robot account credentials
- JFrog Artifactory - API keys or access tokens
This endpoint consolidates all registry credentials into a single response for easier frontend integration.
curl --request GET \
--url https://api-eu.cybedefend.com/integrations/container-registry/organization/{organizationId}/credentials{
"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"
}
}
]
}Path Parameters
CybeDefend organization ID
"550e8400-e29b-41d4-a716-446655440000"
Response
All container registry credentials retrieved successfully
GitHub Container Registry status (uses GitHub App, no stored credentials)
Show child attributes
Show child attributes
GitLab Container Registry credentials
Show child attributes
Show child attributes
DockerHub credentials
Show child attributes
Show child attributes
Azure Container Registry (ACR) credentials
Show child attributes
Show child attributes
Google Container Registry (GCR) credentials
Show child attributes
Show child attributes
Amazon Elastic Container Registry (ECR) credentials
Show child attributes
Show child attributes
Quay.io credentials
Show child attributes
Show child attributes
Harbor credentials
Show child attributes
Show child attributes
JFrog Artifactory credentials
Show child attributes
Show child attributes