Mengkueri detail penyedia kredensial.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:GetCredentialProvider |
get |
*PenyediaKredensial.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| CredentialProviderId |
string |
Yes |
ID penyedia kredensial. |
atp_01kr2cmj5gxxx4fvmls2e93dxxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| CredentialProvider |
object |
Penyedia kredensial. |
|
| InstanceId |
string |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| CredentialProviderId |
string |
ID penyedia kredensial. |
atp_01kr2cmj5gxxx4fvmls2e93dxxxxx |
| CredentialProviderIdentifier |
string |
Pengenal penyedia kredensial. |
test_example_identifier |
| CredentialProviderName |
string |
Nama penyedia kredensial. |
test_example_name |
| CreateTime |
integer |
Waktu pembuatan penyedia kredensial. Nilainya adalah Stempel waktu UNIX dalam milidetik. |
1649830225000 |
| UpdateTime |
integer |
Waktu pembaruan penyedia kredensial. Nilainya adalah Stempel waktu UNIX dalam milidetik. |
1649830225000 |
| Description |
string |
Deskripsi. |
This is an example description |
| CredentialProviderType |
string |
Tipe penyedia kredensial. Nilai valid:
|
oauth |
| CredentialProviderCreationType |
string |
Tipe pembuatan penyedia kredensial. Nilai valid:
|
user_custom |
| Status |
string |
Status penyedia kredensial. Nilai valid:
|
enabled |
| CredentialProviderConfig |
object |
Konfigurasi penyedia kredensial. |
|
| ProviderCredentialIds |
array |
List of credential IDs for sensitive configurations of the credential provider. Catatan
The system securely stores sensitive configuration information as credentials. |
|
|
string |
Credential ID for a sensitive configuration. |
cred_mkv7xxxxd7i4u7zqtzev2mxxxx |
|
| OAuthProviderConfig |
object |
Configuration for an OAuth credential provider. |
|
| ClientId |
string |
Client ID, corresponding to client_id in the OAuth protocol. |
client_id_example_xxx |
| TokenEndpoint |
string |
Token endpoint, corresponding to the OAuth protocol. |
https://example.com/token |
| Scope |
string |
Scope, corresponding to scope in the OAuth protocol. Catatan
The Scope value configured for the OAuth credential provider serves as the default. If you do not specify the scope parameter when calling the Developer API to obtain an OAuth access token, the system uses this default Scope value. Penting
Separate multiple Scope values with spaces. |
example:test_01 example:test_02 |
| JwtProviderConfig |
object |
Configuration for a JWT credential provider. |
|
| Issuer |
string |
JWT issuer. |
https://test.issuer.com |
| JwksEndpoint |
string |
JWKs endpoint URL. |
https://example123456.aliyunidaas.com/api/v2/auths_ngz2wj35ixxxdyat55nexxxxxx/oauth2/jwks |
| Expiration |
integer |
Validity period of the JWT. Unit: seconds. |
900 |
| ExpirationCleanupEnabled |
boolean |
Enable JWT expiration cleanup. |
true |
| DerivedShortTokenEnabled |
boolean |
Enable JWT derived short token. |
false |
| AllowedTokenIssuers |
array |
List of allowed JWT issuers. |
|
|
string |
Allowed JWT issuer. |
https://test.issuer.com |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"CredentialProvider": {
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"CredentialProviderId": "atp_01kr2cmj5gxxx4fvmls2e93dxxxxx",
"CredentialProviderIdentifier": "test_example_identifier",
"CredentialProviderName": "test_example_name",
"CreateTime": 1649830225000,
"UpdateTime": 1649830225000,
"Description": "This is an example description",
"CredentialProviderType": "oauth",
"CredentialProviderCreationType": "user_custom",
"Status": "enabled",
"CredentialProviderConfig": {
"ProviderCredentialIds": [
"cred_mkv7xxxxd7i4u7zqtzev2mxxxx"
],
"OAuthProviderConfig": {
"ClientId": "client_id_example_xxx",
"TokenEndpoint": "https://example.com/token",
"Scope": "example:test_01 example:test_02"
},
"JwtProviderConfig": {
"Issuer": "https://test.issuer.com",
"JwksEndpoint": "https://example123456.aliyunidaas.com/api/v2/auths_ngz2wj35ixxxdyat55nexxxxxx/oauth2/jwks",
"Expiration": 900,
"ExpirationCleanupEnabled": true,
"DerivedShortTokenEnabled": false,
"AllowedTokenIssuers": [
"https://test.issuer.com"
]
}
}
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.