Membuat perangkat virtual Autentikasi Multi-Faktor (MFA).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:CreateVirtualMFADevice |
create |
*MFADevice
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VirtualMFADeviceName |
string |
Yes |
Nama perangkat MFA. Nama harus terdiri atas 1 hingga 64 karakter dan dapat berisi huruf, angka, dan tanda hubung (-). |
device001 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| VirtualMFADevice |
object |
The information about the MFA device. |
|
| SerialNumber |
string |
The serial number of the MFA device. |
acs:ram::177242285274****:mfa/device001 |
| QRCodePNG |
string |
The Base64-encoded QR code of the key. |
YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz**** |
| Base32StringSeed |
string |
The key of the MFA device. |
LD3CJ23Z2VGEX6R7ZTQCOA4XL2KODS5PKH7442NLKYX2PVHSHYB7UT3TS5HA**** |
| RequestId |
string |
The request ID. |
C609CC97-10FE-43EB-BE32-BDC219D8F1E4 |
Contoh
Respons sukses
JSONformat
{
"VirtualMFADevice": {
"SerialNumber": "acs:ram::177242285274****:mfa/device001",
"QRCodePNG": "YXNkZmFzZDlmeW5hc2Q5OGZoODd4bXJmcThhaGU5aSBmYXNkZiBzYWRmIGFGIDRxd2VjIGEgdHEz****",
"Base32StringSeed": "LD3CJ23Z2VGEX6R7ZTQCOA4XL2KODS5PKH7442NLKYX2PVHSHYB7UT3TS5HA****"
},
"RequestId": "C609CC97-10FE-43EB-BE32-BDC219D8F1E4"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.