Get-AzFrontDoorCdnSecret
Hiermee haalt u een bestaand geheim op in een profiel.
Syntax
Get-AzFrontDoorCdnSecret
-ProfileName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzFrontDoorCdnSecret
-Name <String>
-ProfileName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzFrontDoorCdnSecret
-InputObject <ICdnIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Hiermee haalt u een bestaand geheim op in een profiel.
Voorbeelden
Voorbeeld 1: AzureFrontDoor-geheim onder het profiel vermelden
Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6
Name ResourceGroupName
---- -----------------
secret001 testps-rg-da16jm
secret002 testps-rg-da16jm
AzureFrontDoor-geheim onder het profiel vermelden
Voorbeeld 2: Een AzureFrontDoor-geheim ophalen onder het profiel
Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
Name ResourceGroupName
---- -----------------
secret001 testps-rg-da16jm
Een AzureFrontDoor-geheim ophalen onder het profiel
Voorbeeld 2: Een AzureFrontDoor-geheim onder het profiel ophalen via identiteit
$secretSourceId = "xxxxxxxx"
$certificateParameter = New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId
New-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001 -Parameter $certificateParameter | Get-AzFrontDoorCdnSecret
Name ResourceGroupName
---- -----------------
secret001 testps-rg-da16jm
Een AzureFrontDoor-geheim onder het profiel ophalen via identiteit
Parameters
-DefaultProfile
De parameter DefaultProfile is niet functioneel. Gebruik de parameter SubscriptionId indien beschikbaar als u de cmdlet uitvoert voor een ander abonnement.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, zie DE SECTIE NOTES voor INPUTOBJECT-eigenschappen en maak een hash-tabel.
Type: | ICdnIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Naam van het geheim onder het profiel.
Type: | String |
Aliases: | SecretName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProfileName
Naam van het Azure Front Door Standard- of Azure Front Door Premium-profiel dat uniek is binnen de resourcegroep.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Naam van de resourcegroep binnen het Azure-abonnement.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
Azure-abonnements-id.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Invoerwaarden
Uitvoerwaarden
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor