Get-AzApiManagementIdentityProvider
ID 공급자 구성 세부 정보를 가져옵니다.
Syntax
Get-AzApiManagementIdentityProvider
-Context <PsApiManagementContext>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzApiManagementIdentityProvider
-Context <PsApiManagementContext>
-Type <PsApiManagementIdentityProviderType>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
ID 공급자 구성 세부 정보를 가져옵니다. ClientSecret은 결과 세부 정보에 포함되지 않습니다. 클라이언트 비밀을 얻으려면 Get-AzApiManagementIdentityProviderClientSecret을 사용합니다.
예제
예제 1: 모든 ID 공급자 가져오기
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProvider -Context $apimContext
서비스의 모든 ID 공급자 구성을 가져옵니다.
예제 2: AAD 형식 ID 공급자 가져오기
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProvider -Context $apimContext -Type Aad
Type : Aad
ClientId : aaa
ClientSecret : xxxxx
AllowedTenants : {contosotest.onmicrosoft.com}
Authority : login.microsoftonline.com
SignupPolicyName :
SigninPolicyName :
ProfileEditingPolicyName :
PasswordResetPolicyName :
SigninTenant :
Id : /subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/contoso/identityProviders/Aad
ResourceGroupName : Api-Default-West-US
ServiceName : contoso
Azure Active Directory의 ID 공급자 구성을 가져옵니다.
예제 3: AAD B2C 형식 ID 공급자 가져오기
$context = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProvider -Context $context -Type AadB2C
Type : AadB2C
ClientId : f02dafe2-b8b8-48ec-a38e-27e5c16c51e5
ClientSecret : xxxxxx
AllowedTenants : {contosoaadb2c.onmicrosoft.com}
Authority : login.microsoftonline.com
SignupPolicyName : B2C_1_policy-signup
SigninPolicyName : B2C_1_policy-signin
ProfileEditingPolicyName :
PasswordResetPolicyName :
SigninTenant : contosoaadb2c.onmicrosoft.com
Id : /subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/contoso/identityProviders/AadB2C
ResourceGroupName : Api-Default-West-US
ServiceName : contoso
Azure Active Directory의 ID 공급자 구성을 가져옵니다.
매개 변수
-Context
PsApiManagementContext의 인스턴스입니다. 이 매개 변수는 필수입니다.
Type: | PsApiManagementContext |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
ID 공급자의 식별자입니다. 지정된 경우 식별자가 ID 공급자 구성을 찾으려고 합니다. 이 매개 변수는 선택 사항입니다.
Type: | PsApiManagementIdentityProviderType |
Accepted values: | Facebook, Google, Microsoft, Twitter, Aad, AadB2C |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
PsApiManagementIdentityProviderType