Membuat konfigurasi logon untuk pengguna Resource Access Management (RAM).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:CreateLoginProfile |
create |
*User
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| UserPrincipalName |
string |
Yes |
Nama logon pengguna RAM. |
test@example.onaliyun.com |
| Password |
string |
No |
Kata sandi logon untuk pengguna RAM. Kata sandi harus memenuhi kebijakan kata sandi. |
mypassword |
| PasswordResetRequired |
boolean |
No |
Apakah akan mengatur ulang kata sandi pada logon berikutnya untuk pengguna RAM. Nilai valid:
|
false |
| MFABindRequired |
boolean |
No |
Apakah akan mengaktifkan Autentikasi Multi-Faktor (MFA) untuk pengguna RAM. Nilai valid:
|
false |
| Status |
string |
No |
Apakah akan mengaktifkan logon berbasis kata sandi ke Konsol. Nilai valid:
|
Active |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
29CB303C-1F05-43A6-A6BC-EBC5A797F8DB |
| LoginProfile |
object |
The console logon settings of the RAM user. |
|
| UserPrincipalName |
string |
The logon name of the RAM user. |
test@example.onaliyun.com |
| Status |
string |
Indicates whether password-based logon for the console is enabled or disabled. |
Active |
| UpdateDate |
string |
The time when the logon configuration was last updated. |
2020-10-14T03:47:51Z |
| PasswordResetRequired |
boolean |
Indicates whether the RAM user must reset the password at the next logon. |
false |
| MFABindRequired |
boolean |
Indicates whether the RAM user is required to enable MFA. |
false |
| PasswordStatus |
string |
The status of the initial password. This password is set when a logon configuration is created or when console logon is re-enabled. Valid values
|
NotInitial |
Contoh
Respons sukses
JSONformat
{
"RequestId": "29CB303C-1F05-43A6-A6BC-EBC5A797F8DB",
"LoginProfile": {
"UserPrincipalName": "test@example.onaliyun.com",
"Status": "Active",
"UpdateDate": "2020-10-14T03:47:51Z",
"PasswordResetRequired": false,
"MFABindRequired": false,
"PasswordStatus": "NotInitial"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.