Allow a RAM user to manage their own MFA device
Updated at:
Grant a specific RAM user permissions to manage their own multi-factor authentication (MFA) device.
The following policy allows RAM user alice to manage their own MFA device, including binding and unbinding.
{
"Statement": [
{
"Action": [
"ram:GetUserMFAInfo",
"ram:BindMFADevice",
"ram:UnbindMFADevice"
],
"Resource": "acs:ram:*:*:user/alice",
"Effect": "Allow"
},
{
"Action": [
"ram:CreateVirtualMFADevice",
"ram:DeleteVirtualMFADevice"
],
"Resource": "*",
"Effect": "Allow"
}
],
"Version": "1"
}
This policy restricts MFA device management to the specified RAM user.
Alternatively, to allow all RAM users to manage their own MFA devices, set Manage MFA Devices to Allowed in the RAM console security settings. Manage security settings for RAM users.
Is this page helpful?