POST /accounts/{account_id}/containers/registries
Add a new image registry into your account, so then Cloudflare can pull docker images with public key JWT authentication
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Account identifier. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
auth |
Object | No |
Credentials needed to authenticate with an external image registry. |
auth.private_credential |
Yes | ||
auth.public_credential |
String | Yes |
The format of this value is determined by the registry being configured. |
is_public |
Boolean | No |
If you own the registry and is private, this should be false or not defined. If it's a public registry like docker.io, you should set this to true |
domain |
String | Yes |
A string representation of a domain name. See RFC-1034 (https://www.ietf.org/rfc/rfc1034.txt). Consider that the limit of a domain name is min 3 and max 253 ASCII characters. |
kind |
String | No |
The type of external registry that is being configured. Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.