CmdID

CmdID / aws / aws iam

aws iam tag-mfa-device

Adds one or more tags to an IAM virtual multi-factor authentication (MFA) device. 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 add a tag to an MFA device

The following tag-mfa-device example adds a tag with a Department name to the specified MFA device.

aws iam tag-mfa-device --serial-number arn:aws:iam::123456789012:mfa/alice --tags '[{"Key": "Department", "Value": "Accounting"}]'Identify
--serial-numberThe unique identifier for the IAM virtual MFA device to which you want to add tags.
--tagsThe list of tags that you want to attach to the IAM virtual MFA device.

This command produces no output.

For more information, see Tagging IAM resources in the AWS IAM User Guide.

Options

2 in the AWS CLI reference
--serial-numberThe unique identifier for the IAM virtual MFA device to which you want to add tags.
--tagsThe list of tags that you want to attach to the IAM virtual MFA device.