CmdID

CmdID / aws / aws secretsmanager

aws secretsmanager untag-resource

Removes specific tags from a secret. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To remove tags from a secret

The following untag-resource example removes two tags from a secret. For each tag, both key and value are removed.

aws secretsmanager untag-resource --secret-id MyTestSecret --tag-keys '[ "FirstTag", "SecondTag"]'Identify
--secret-idThe ARN or name of the secret.
--tag-keysA list of tag key names to remove from the secret.

This command produces no output.

For more information, see Tag secrets in the Secrets Manager User Guide.

Options

2 in the AWS CLI reference
--secret-idThe ARN or name of the secret.
--tag-keysA list of tag key names to remove from the secret.