Registry Credentials

Create a registry credential (credentials stored encrypted)

POST
/v1/orgs/{orgId}/registry-credentials/create
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/registry-credentials/create" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "server": "string",    "authType": "basic",    "credentials": {      "property1": "string",      "property2": "string"    }  }'
{
  "id": "string",
  "name": "string",
  "server": "string",
  "authType": "string",
  "createdAt": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}