根据联邦信任源ID查询应用联邦凭证列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
eiam:ListApplicationFederatedCredentialsForProvider |
list |
*ApplicationFederatedCredential
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
否 |
查询凭证(Token) |
NTxxxxxexample |
| PreviousToken |
string |
否 |
查询上一页凭证(Token) |
PTxxxxxexample |
| MaxResults |
integer |
否 |
分页查询时每页行数 |
20 |
| FederatedCredentialProviderId |
string |
否 |
联邦信任源 ID |
fcp_adasd12dxxxxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
列表总条数目 |
100 |
| NextToken |
string |
本次调用返回的查询凭证(Token)值 |
NTxxxexample |
| PreviousToken |
string |
本次调用返回的查询凭证(Token)值 |
PTxxxexample |
| MaxResults |
integer |
分页查询时每页行数 |
20 |
| ApplicationFederatedCredentials |
array<object> |
应用联邦凭证列表 |
|
|
array<object> |
|||
| InstanceId |
string |
实例 ID |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationFederatedCredentialId |
string |
应用联邦凭证 ID |
afc_dads12sadxxxxx |
| ApplicationId |
string |
应用 ID |
app_asda1dsadxxxxx |
| FederatedCredentialProviderId |
string |
联邦信任源 ID |
fcp_adasd12dxxxxx |
| ApplicationFederatedCredentialType |
string |
应用联邦凭证类型 |
oidc |
| ApplicationFederatedCredentialName |
string |
应用联邦凭证名称 |
test |
| Status |
string |
应用联邦凭证状态 |
enabled |
| Description |
string |
应用联邦凭证描述 |
test |
| CreateTime |
integer |
创建时间 |
1758785994982 |
| UpdateTime |
integer |
更新时间 |
1758785994982 |
| LastUsedTime |
integer |
最近使用时间 |
1758785994982 |
| VerificationCondition |
string |
校验条件(freedom 模式为手填值,structured 模式为编译后最终值) |
|
| VerificationMode |
string |
校验模式:freedom / structured |
|
| OidcVerificationConfig |
object |
OIDC 结构化配置(structured 模式 + oidc 类型) |
|
| Profile |
string |
OIDC 场景 Profile:generic / kubernetes / gcp_vm / azure_vm |
|
| KubernetesConfig |
object |
Kubernetes 场景配置 |
|
| Namespace |
string |
K8s 命名空间 |
|
| ServiceAccountName |
string |
K8s 服务账号名称 |
|
| PodNamePrefix |
string |
Pod 名称前缀 |
|
| GcpVmConfig |
object |
GCP VM 场景配置 |
|
| ServiceAccountId |
string |
Service Account 对应 sub |
|
| InstanceIds |
array |
VM 实例 ID 列表,最多 10 个 |
|
|
string |
|||
| ProjectId |
string |
||
| AzureVmConfig |
object |
Azure VM 场景配置 |
|
| ResourceGroupName |
string |
||
| SubscriptionId |
string |
||
| VmNames |
array |
||
|
string |
|||
| PrincipalId |
string |
||
| GenericConfig |
object |
||
| Subject |
string |
||
| Pkcs7VerificationConfig |
object |
PKCS#7 结构化配置(structured 模式 + pkcs7 类型) |
|
| InstanceIds |
array |
允许的实例 ID 列表,最多 10 个 |
|
|
string |
示例
正常返回示例
JSON格式
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"PreviousToken": "PTxxxexample",
"MaxResults": 20,
"ApplicationFederatedCredentials": [
{
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"ApplicationFederatedCredentialId": "afc_dads12sadxxxxx",
"ApplicationId": "app_asda1dsadxxxxx",
"FederatedCredentialProviderId": "fcp_adasd12dxxxxx",
"ApplicationFederatedCredentialType": "oidc",
"ApplicationFederatedCredentialName": "test",
"Status": "enabled",
"Description": "test",
"CreateTime": 1758785994982,
"UpdateTime": 1758785994982,
"LastUsedTime": 1758785994982,
"VerificationCondition": "",
"VerificationMode": "",
"OidcVerificationConfig": {
"Profile": "",
"KubernetesConfig": {
"Namespace": "",
"ServiceAccountName": "",
"PodNamePrefix": ""
},
"GcpVmConfig": {
"ServiceAccountId": "",
"InstanceIds": [
""
],
"ProjectId": ""
},
"AzureVmConfig": {
"ResourceGroupName": "",
"SubscriptionId": "",
"VmNames": [
""
],
"PrincipalId": ""
},
"GenericConfig": {
"Subject": ""
}
},
"Pkcs7VerificationConfig": {
"InstanceIds": [
""
]
}
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。