dcloud secrets sources updateRename the source, replace the credential or change the refresh interval
Synopsis
dcloud secrets sources update id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameOptionalstring
New name, 2 to 63 lower-case letters, digits and hyphens; its credential secret is renamed to SOURCE_<NAME>_TOKEN with it. A taken name (or credential secret name) is 409. Synced secrets follow the source by id.
Constraints: 2-63 chars, /^[a-z0-9][a-z0-9-]*$/
--descriptionOptionalstring
Free-text description, up to 256 characters. Null clears it; omitted: unchanged.
Constraints: max 256 chars
May be null.
--credentialOptionalstring
A replacement credential, 8 to 8192 characters. Verified first (rejected: 422), then written as a new version of the credential secret. Omitted: unchanged.
Constraints: 8-8192 chars
--configOptionalmap of string
Replaces the provider settings whole (the same keys as on create). Verified with the new or the stored credential first: 400 for invalid settings, 422 when the provider refuses them. Omitted: unchanged.
Constraints: key=value
--refresh-interval-minutesOptionalnumber
Minutes between scheduled syncs, 5 to 1440. Omitted: unchanged.
Constraints: integer, 5-1440
Example
dcloud secrets sources update idGenerated from the API description, the same one the API checks requests against and the CLI is built from.