Skip to main content
POST
Create registry credential

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens

Body

application/json
name
string
required
Required string length: 1 - 100
Example:

"GitHub Container Registry"

registry_url
string
required
Required string length: 1 - 2048
Example:

"ghcr.io"

type
enum<string>
required

Auth type

Available options:
basic,
token,
oauth
credentials
object
required

Auth credentials (type-dependent)

Response

Credential created