Use the PASM CLI tag-secret command to add or update tags for a secret.

Syntax

pasmcli tag-secret [options]

Option

Description

-h or --help

Displays usage text.

-b or --boxid string

The ID or name of the box where the secret is located. Strings must be enclosed in double quotes.

-R or --revision int

The revision number of the secret in integer format.

-s or --secretid string

The secret ID or name of the secret to be tagged. Strings must be enclosed in double quotes.

-t or --tagkey stringArray

The tag key to associate with the secret. This option is repeatable.

-v or --tagvalue stringArray

The tag value to associate with the secret. This option is repeatable.