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 매개 변수

Name In(다음 안에) 필수 형식 Description
identityProviderName
path True

IdentityProviderType

ID 공급자 유형 식별자입니다.

resourceGroupName
path True

string

리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.

serviceName
path True

string

API Management 서비스의 이름입니다.

Regex pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$

subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

ClientSecretContract

응답 본문에는 클라이언트 암호가 포함됩니다.

Headers

ETag: string

Other Status Codes

ErrorResponse

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
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"
}

정의

Name Description
ClientSecretContract

IdentityProviders, Aad, OpenID 또는 OAuth에 사용되는 클라이언트 또는 앱 비밀입니다.

ErrorFieldContract

오류 필드 계약입니다.

ErrorResponse

오류 응답.

IdentityProviderType

ID 공급자 유형 식별자입니다.

ClientSecretContract

IdentityProviders, Aad, OpenID 또는 OAuth에 사용되는 클라이언트 또는 앱 비밀입니다.

Name 형식 Description
clientSecret

string

IdentityProviders, Aad, OpenID 또는 OAuth에 사용되는 클라이언트 또는 앱 비밀입니다.

ErrorFieldContract

오류 필드 계약입니다.

Name 형식 Description
code

string

속성 수준 오류 코드입니다.

message

string

사람이 읽을 수 있는 속성 수준 오류 표현입니다.

target

string

속성 이름입니다.

ErrorResponse

오류 응답.

Name 형식 Description
error.code

string

서비스에서 정의한 오류 코드입니다. 이 코드는 응답에 지정된 HTTP 오류 코드의 하위 상태로 사용됩니다.

error.details

ErrorFieldContract[]

유효성 검사 오류가 발생할 경우 잘못된 필드 목록이 요청에 전송됩니다.

error.message

string

사람이 읽을 수 있는 오류 표현입니다.

IdentityProviderType

ID 공급자 유형 식별자입니다.

Name 형식 Description
aad

string

Azure Active Directory를 ID 공급자로 사용합니다.

aadB2C

string

Azure Active Directory B2C를 ID 공급자로 사용합니다.

facebook

string

ID 공급자로 Facebook.

google

string

Google을 ID 공급자로 사용합니다.

microsoft

string

Microsoft Live를 ID 공급자로 사용합니다.

twitter

string

Twitter를 ID 공급자로 사용합니다.