Store GitLab Container Registry credentials
Stores deploy token credentials for GitLab Container Registry (registry.gitlab.com) at organization level. These credentials are used to authenticate and pull container images for security scanning.
Path Parameters
CybeDefend organization ID
"550e8400-e29b-41d4-a716-446655440000"
Body
GitLab Container Registry deploy token credentials
CybeDefend project ID to associate this credential with
"097bbbf4-d1eb-4512-9950-684445279808"
GitLab project ID (numeric)
12345
Deploy token username from GitLab
"gitlab+deploy-token-123"
Deploy token secret from GitLab
"gldt-xxxxxxxxxxxxxxxxxxxx"
Container registry URL
"registry.gitlab.com"
GitLab project path (namespace/project)
"mygroup/myproject"
Token scopes
["read_registry", "write_registry"]Token expiration date (ISO 8601)
"2025-12-31T23:59:59Z"
Description for this credential
"Production registry access"
Response
Credentials stored successfully
Credential ID
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
GitLab project ID
12345
Deploy token username
"gitlab+deploy-token-123"
Container registry URL
"registry.gitlab.com"
GitLab project path
"mygroup/myproject"
Creation date
"2025-01-01T00:00:00Z"
Token scopes
["read_registry"]Token expiration date
"2025-12-31T23:59:59Z"
Description
"Production registry access"