Delen via


Identity Provider - List Secrets

Hiermee haalt u de details van het clientgeheim van de id-provider op.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}/listSecrets?api-version=2024-05-01

URI-parameters

Name In Vereist Type Description
identityProviderName
path True

IdentityProviderType

Id van id-providertype.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

serviceName
path True

string

minLength: 1
maxLength: 50
pattern: ^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$

De naam van de API Management-service.

subscriptionId
path True

string (uuid)

De id van het doelabonnement. De waarde moet een UUID zijn.

api-version
query True

string

minLength: 1

De API-versie die voor deze bewerking moet worden gebruikt.

Antwoorden

Name Type Description
200 OK

ClientSecretContract

De hoofdtekst van het antwoord bevat het clientgeheim.

Kopteksten

ETag: string

Other Status Codes

ErrorResponse

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

ApiManagementIdentityProviderListSecrets

Voorbeeldaanvraag

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/aadB2C/listSecrets?api-version=2024-05-01

Voorbeeldrespons

{
  "clientSecret": "XXXXXXX"
}

Definities

Name Description
ClientSecretContract

Client- of app-geheim dat wordt gebruikt in IdentityProviders, Aad, OpenID of OAuth.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

IdentityProviderType

Id van id-providertype.

ClientSecretContract

Client- of app-geheim dat wordt gebruikt in IdentityProviders, Aad, OpenID of OAuth.

Name Type Description
clientSecret

string

Client- of app-geheim dat wordt gebruikt in IdentityProviders, Aad, OpenID of OAuth.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

IdentityProviderType

Id van id-providertype.

Waarde Description
aad

Azure Active Directory als id-provider.

aadB2C

Azure Active Directory B2C als id-provider.

facebook

Facebook als id-provider.

google

Google als id-provider.

microsoft

Microsoft Live als id-provider.

twitter

Twitter als id-provider.