A registry credential is used to authenticate against a registry.
| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| description | string | Optional | Yes | - | |
| name | string | Optional | Yes | - | |
| publicValue | string | Optional | Yes | - | The public value of the registryCredential |
| registryId | registry | Yes | - | - | |
| secretValue | password | Optional | Yes | - | The secret value of the registryCredential |
| Field | Type | Notes |
|---|---|---|
| data | map[json] | |
| id | int | The unique identifier for the registryCredential |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.
/v2-beta/projects/${PROJECT_ID}/registryCredentials/${ID}?action=activate
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://${RANCHER_URL}:8080/v2-beta/projects/${PROJECT_ID}/registryCredentials/${ID}?action=activate'/v2-beta/projects/${PROJECT_ID}/registryCredentials/${ID}?action=deactivate
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://${RANCHER_URL}:8080/v2-beta/projects/${PROJECT_ID}/registryCredentials/${ID}?action=deactivate'