Memperbarui properti sertifikat CA pribadi, seperti status ekspor.
Deskripsi operasi
When a Certificate Authority (CA) certificate is created, its status is Normal by default. You can call this API operation to change the status of a CA certificate to Revoked. A CA certificate in the Normal status can be used to issue certificates. A revoked CA certificate cannot be used to issue certificates, and all certificates previously issued by it become invalid.
Before you call this API operation, you must create a root CA certificate by calling CreateRootCACertificate and a subordinate CA certificate by calling CreateSubCACertificate.
QPS limits
This API operation is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cert:UpdatePcaCertificate |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AliasName |
string |
No |
Alias Sertifikat. |
cert-name |
| Identifier |
string |
No |
Pengidentifikasi unik Sertifikat CA. Catatan
Panggil DescribeCACertificateList untuk mengkueri pengidentifikasi unik dari semua Sertifikat CA. |
160ae6bb538d538c70c01f81dcf2**** |
| Tags |
array<object> |
No |
Daftar tag. |
|
|
object |
No |
The list of tags. |
||
| Key |
string |
No |
The tag key. |
runtime |
| Value |
string |
No |
The tag value. |
test |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
rg-ae******4wia |
| ClientToken |
string |
No |
Token Klien yang digunakan untuk memastikan idempotensi permintaan. Klien menghasilkan nilai ini untuk memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Token dapat memiliki panjang hingga 64 karakter ASCII dan tidak boleh berisi karakter non-ASCII. |
XXX |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
09470F19-CEE8-5C63-BF2C-02B5E3F07A17 |
| AccessDeniedDetail |
object |
The error details of the authorization. |
|
| AuthAction |
string |
The unauthorized operation that you attempted to perform. |
yundun-cert:XXX |
| AuthPrincipalDisplayName |
string |
The identity that is used for authorization in the request. Valid values:
|
RoleSessionName |
| AuthPrincipalOwnerId |
string |
The ID of the Alibaba Cloud account to which the authorized principal belongs. |
186XXX |
| AuthPrincipalType |
string |
The type of the identity. |
SubUser |
| EncodedDiagnosticMessage |
string |
The complete diagnostic information that is encrypted. |
AQEAAAAAaEjlETkzRkQ5QjVELTI3NTEtM0I2Ni1BM0E1LThBQUYzMkJBNEJCQg== |
| NoPermissionType |
string |
The reason why the authorization failed. Valid values: ExplicitDeny: The authorization is explicitly denied. ImplicitDeny: The authorization is implicitly denied. |
ImplicitDeny |
| PolicyType |
string |
The type of the policy. |
Custom |
Contoh
Respons sukses
JSONformat
{
"RequestId": "09470F19-CEE8-5C63-BF2C-02B5E3F07A17",
"AccessDeniedDetail": {
"AuthAction": "yundun-cert:XXX",
"AuthPrincipalDisplayName": "RoleSessionName",
"AuthPrincipalOwnerId": "186XXX",
"AuthPrincipalType": "SubUser",
"EncodedDiagnosticMessage": "AQEAAAAAaEjlETkzRkQ5QjVELTI3NTEtM0I2Ni1BM0E1LThBQUYzMkJBNEJCQg==",
"NoPermissionType": "ImplicitDeny",
"PolicyType": "Custom"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.