AFD Profiles - Validate Secret
Valideer een geheim in het profiel.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/validateSecret?api-version=2025-04-15
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
profile
|
path | True |
string minLength: 1maxLength: 260 pattern: ^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$ |
De naam van de Azure Front Door Standard of Azure Front Door Premium die uniek is binnen de resourcegroep. |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
Naam van de resourcegroep binnen het Azure-abonnement. |
subscription
|
path | True |
string |
Azure-abonnements-id. |
api-version
|
query | True |
string |
Versie van de API die moet worden gebruikt met de clientaanvraag. De huidige versie is 2025-04-15. |
Aanvraagbody
Name | Vereist | Type | Description |
---|---|---|---|
secretSource | True |
Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} |
|
secretType | True |
The secret type. |
|
secretVersion |
string |
Geheime versie, als de klant een specifieke versie gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Azure Front Door-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
Validate_Secret
Voorbeeldaanvraag
POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/validateSecret?api-version=2025-04-15
{
"secretSource": {
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.KeyVault/vault/kvName/certificate/certName"
},
"secretType": "CustomerCertificate"
}
Voorbeeldrespons
{
"status": "Valid",
"message": null
}
Definities
Name | Description |
---|---|
Afd |
Foutreactie |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Resource |
Verwijzing naar een andere resource. |
Secret |
The type of the secret resource. |
status |
De validatiestatus. |
Validate |
Invoer van het geheim dat moet worden gevalideerd. |
Validate |
Uitvoer van het gevalideerde geheim. |
AfdErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
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 |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ResourceReference
Verwijzing naar een andere resource.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
SecretType
The type of the secret resource.
Waarde | Description |
---|---|
AzureFirstPartyManagedCertificate | |
CustomerCertificate | |
ManagedCertificate | |
UrlSigningKey |
status
De validatiestatus.
Waarde | Description |
---|---|
AccessDenied | |
CertificateExpired | |
Invalid | |
Valid |
ValidateSecretInput
Invoer van het geheim dat moet worden gevalideerd.
Name | Type | Description |
---|---|---|
secretSource |
Resource reference to the Azure Key Vault secret. Expected to be in format of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/secrets/{secretName} |
|
secretType |
The secret type. |
|
secretVersion |
string |
Geheime versie, als de klant een specifieke versie gebruikt. |
ValidateSecretOutput
Uitvoer van het gevalideerde geheim.
Name | Type | Description |
---|---|---|
message |
string |
Gedetailleerd foutbericht |
status |
De validatiestatus. |