Skip to main content
POST
/
integrations
/
scaleway
/
container-registry
/
organization
/
{organizationId}
/
credentials
{
  "projectId": "550e8400-e29b-41d4-a716-446655440001",
  "region": "fr-par",
  "namespaceName": "my-production-registry",
  "secretKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "description": "Production registry credentials"
}
{
  "success": true,
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "region": "fr-par",
    "namespaceId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "namespaceName": "my-production-registry",
    "registryEndpoint": "rg.fr-par.scw.cloud/my-production-registry",
    "description": "Production registry credentials",
    "createdAt": "2026-03-17T10:30:00.000Z",
    "updatedAt": "2026-03-17T10:30:00.000Z"
  }
}

Path Parameters

organizationId
string
required
The UUID of the organization

Authorization

Requires manage_integration permission on the organization.

Request Body

projectId
string
required
The UUID of the CybeDefend project to associate the credentials with
region
string
required
Scaleway region where the container registry is hosted. One of: fr-par, nl-ams, pl-waw
namespaceName
string
required
The name of the Scaleway Container Registry namespace
secretKey
string
required
Scaleway API secret key for authentication
description
string
Optional description to identify this credential
{
  "projectId": "550e8400-e29b-41d4-a716-446655440001",
  "region": "fr-par",
  "namespaceName": "my-production-registry",
  "secretKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
  "description": "Production registry credentials"
}

Response

Returns the stored credential details (secret key is not included in the response).
success
boolean
Whether the request succeeded
data
object
{
  "success": true,
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "region": "fr-par",
    "namespaceId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "namespaceName": "my-production-registry",
    "registryEndpoint": "rg.fr-par.scw.cloud/my-production-registry",
    "description": "Production registry credentials",
    "createdAt": "2026-03-17T10:30:00.000Z",
    "updatedAt": "2026-03-17T10:30:00.000Z"
  }
}
Credentials are validated against the Scaleway API before being stored. If the secret key is invalid or the namespace does not exist, the request will fail with a 400 Bad Request error.