アプリケーションのフェデレーション ID 認証情報を取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eiam:GetApplicationFederatedCredential |
get |
*ApplicationFederatedCredential
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
インスタンスの ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationId |
string |
必須 |
アプリケーションの ID。 |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ApplicationFederatedCredentialId |
string |
必須 |
アプリケーションのフェデレーション認証情報の ID。 |
afc_aaaaa1111 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| ApplicationFederatedCredential |
object |
アプリケーションのフェデレーション認証情報オブジェクト。 |
|
| InstanceId |
string |
インスタンスの ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ApplicationFederatedCredentialId |
string |
アプリケーションのフェデレーション認証情報の ID。 |
afc_aaaaa1111 |
| ApplicationId |
string |
アプリケーションの ID。 |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| FederatedCredentialProviderId |
string |
フェデレーション信頼ソースの ID。 |
fcp_asda1dasdxxxx |
| ApplicationFederatedCredentialType |
string |
アプリケーションのフェデレーション認証情報のタイプ。 |
oidc |
| ApplicationFederatedCredentialName |
string |
アプリケーションのフェデレーション認証情報の名前。 |
test |
| Status |
string |
アプリケーションのフェデレーション認証情報のステータス。 |
enabled |
| Description |
string |
アプリケーションのフェデレーション認証情報の説明。 |
test |
| CreateTime |
integer |
作成時間。 |
1758785994982 |
| UpdateTime |
integer |
更新時間。 |
1758785994982 |
| LastUsedTime |
integer |
最終使用時間。 |
1758785994982 |
| AttributeMappings |
array<object> |
属性マッピング。 |
|
|
object |
|||
| SourceValueExpression |
string |
ソース値の式。 |
Append(client.applicationFederatedCredentialId, ":", cert.subject.CN, ":", cert.serialNumber) |
| TargetField |
string |
ターゲットフィールド。 |
client.activeSubjectUrn |
| VerificationCondition |
string |
検証条件。 |
Equals(cert.subject.CN, "test") |
| VerificationMode |
string |
検証モード。有効な値:
|
structured |
| OidcVerificationConfig |
object |
OIDC の構造化構成。 |
|
| Profile |
string |
OIDC のシナリオプロファイル。異なるプロファイルは異なる構成に対応します。有効な値:
|
kubernetes |
| KubernetesConfig |
object |
Kubernetes のシナリオ構成。 |
|
| Namespace |
string |
K8s の名前空間。 |
default |
| ServiceAccountName |
string |
K8s のサービスアカウント名。 |
default |
| PodNamePrefix |
string |
Pod 名のプレフィックス。 |
test-pod |
| GcpVmConfig |
object |
GCP VM のシナリオ構成。 |
|
| ServiceAccountId |
string |
サービスアカウントに対応する主題。 |
123456789 |
| InstanceIds |
array |
VM インスタンス ID のリスト。 |
|
|
string |
VM インスタンスの ID。 |
6193072600270353961 |
|
| ProjectId |
string |
GCP プロジェクトの ID。 |
turnkey-axiom-475109-xx |
| AzureVmConfig |
object |
Azure VM のシナリオ構成。 |
|
| ResourceGroupName |
string |
Azure リソースグループの名前。 |
user_default |
| SubscriptionId |
string |
サブスクリプションの ID。 |
4342a1f4-7e5d-4371-97dc-d4f33f4xxxx |
| VmNames |
array |
仮想マシン名のリスト。 |
|
|
string |
仮想マシンの名前。 |
testName |
|
| PrincipalId |
string |
プリンシパルの ID。 |
5dee234a-1b4c-4ad7-a19f-fxxxxx |
| GenericConfig |
object |
汎用シナリオの構成。 |
|
| Subject |
string |
主題識別子。 |
test_subject |
| Pkcs7VerificationConfig |
object |
PKCS#7 の構造化構成。 |
|
| InstanceIds |
array |
許可されたインスタンス ID のリスト。 |
|
|
string |
インスタンスの ID。 |
i-d0abcd1234efgh5678 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"ApplicationFederatedCredential": {
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"ApplicationFederatedCredentialId": "afc_aaaaa1111",
"ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
"FederatedCredentialProviderId": "fcp_asda1dasdxxxx",
"ApplicationFederatedCredentialType": "oidc",
"ApplicationFederatedCredentialName": "test",
"Status": "enabled",
"Description": "test",
"CreateTime": 1758785994982,
"UpdateTime": 1758785994982,
"LastUsedTime": 1758785994982,
"AttributeMappings": [
{
"SourceValueExpression": "Append(client.applicationFederatedCredentialId, \":\", cert.subject.CN, \":\", cert.serialNumber)",
"TargetField": "client.activeSubjectUrn\n"
}
],
"VerificationCondition": "Equals(cert.subject.CN, \"test\")",
"VerificationMode": "structured",
"OidcVerificationConfig": {
"Profile": "kubernetes",
"KubernetesConfig": {
"Namespace": "default",
"ServiceAccountName": "default",
"PodNamePrefix": "test-pod"
},
"GcpVmConfig": {
"ServiceAccountId": "123456789",
"InstanceIds": [
"6193072600270353961"
],
"ProjectId": "turnkey-axiom-475109-xx"
},
"AzureVmConfig": {
"ResourceGroupName": "user_default",
"SubscriptionId": "4342a1f4-7e5d-4371-97dc-d4f33f4xxxx\n",
"VmNames": [
"testName"
],
"PrincipalId": "5dee234a-1b4c-4ad7-a19f-fxxxxx\n"
},
"GenericConfig": {
"Subject": "test_subject\n"
}
},
"Pkcs7VerificationConfig": {
"InstanceIds": [
"i-d0abcd1234efgh5678"
]
}
}
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。