Identity Provider - List Secrets
ID プロバイダーのクライアント シークレットの詳細を取得します。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}/listSecrets?api-version=2022-08-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
identity
|
path | True |
ID プロバイダーの種類識別子。 |
|
resource
|
path | True |
string |
リソース グループの名前。 名前の大文字と小文字は区別されます。 |
service
|
path | True |
string |
API Management サービスの名前。 Regex pattern: |
subscription
|
path | True |
string |
ターゲット サブスクリプションの ID。 |
api-version
|
query | True |
string |
この操作に使用する API バージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
応答本文には、クライアント シークレットが含まれています。 Headers ETag: string |
|
Other Status Codes |
操作に失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
ApiManagementIdentityProviderListSecrets
Sample Request
POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C/listSecrets?api-version=2022-08-01
Sample Response
{
"clientSecret": "XXXXXXX"
}
定義
名前 | 説明 |
---|---|
Client |
IdentityProviders、Aad、OpenID、OAuth で使用されるクライアントまたはアプリ のシークレット。 |
Error |
エラー フィールド コントラクト。 |
Error |
エラー応答。 |
Identity |
ID プロバイダーの種類識別子。 |
ClientSecretContract
IdentityProviders、Aad、OpenID、OAuth で使用されるクライアントまたはアプリ のシークレット。
名前 | 型 | 説明 |
---|---|---|
clientSecret |
string |
IdentityProviders、Aad、OpenID、OAuth で使用されるクライアントまたはアプリ のシークレット。 |
ErrorFieldContract
エラー フィールド コントラクト。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プロパティ レベルのエラー コード。 |
message |
string |
プロパティ レベルエラーの人間が判読できる表現。 |
target |
string |
プロパティ名。 |
ErrorResponse
エラー応答。
名前 | 型 | 説明 |
---|---|---|
error.code |
string |
サービスによって定義されたエラー コード。 このコードは、応答に指定された HTTP エラー コードのサブステータスとして機能します。 |
error.details |
検証エラーが発生した場合に要求で送信される無効なフィールドの一覧。 |
|
error.message |
string |
人が判読できるエラーの表現。 |
IdentityProviderType
ID プロバイダーの種類識別子。
名前 | 型 | 説明 |
---|---|---|
aad |
string |
ID プロバイダーとしての Azure Active Directory。 |
aadB2C |
string |
ID プロバイダーとしての Azure Active Directory B2C。 |
string |
ID プロバイダーとしてFacebookします。 |
|
string |
Id プロバイダーとしての Google。 |
|
microsoft |
string |
Id プロバイダーとしての Microsoft Live。 |
string |
Id プロバイダーとしての Twitter。 |