1.0

1.0

scpcli secretsmanager secret update label
--secret_id <value>
--label <value>
[--move_to_version_id <value>]
[--remove_from_version_id <value>]

Description

Labels are added, moved, or removed from a version. If only the move_to_version_id value is used, the label is added. If only the remove_from_version_id value is used, the label is removed. If both values are used, the label is moved from remove_from_version_id to move_to_version_id.

State ACTIVE (CURRENT)

VersionSupported Until
1.0-

Parameters

NameTypeDescriptionExample
secret_id
required
stringSecret ID3265ab469f0d406d83073da3e11e7a6c
label
required
stringLabel of secret version. Not allow duplication.My Custom Label
move_to_version_id
optional
stringSecret Version ID3265ab469f0d406d83073da3e11e7a6c
remove_from_version_id
optional
stringSecret Version ID3265ab469f0d406d83073da3e11e7a6c