dcloud secrets environments update

Rename an environment, move it in the promotion order or change its colour

IAM secrets:UpdateSecretEnvironmentChanges state

Synopsis

dcloud secrets environments update id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --nameOptional

    string

    New display name, 1 to 64 characters. Omitted: unchanged. The slug cannot change.

    Constraints: 1-64 chars

  • --positionOptional

    number

    New place in the promotion order, 0 to 10000; higher is later. Omitted: unchanged.

    Constraints: integer, 0-10000

  • --colorOptional

    enum

    The dot shown beside the environment: gray, blue, teal, green, amber, red or violet. Null: automatic (from the slug).

    One of: gray, blue, teal, green, amber, red, violet

    May be null.

Example

dcloud secrets environments update id

Generated from the API description, the same one the API checks requests against and the CLI is built from.