Property certificate challenge
Get-PropertyCertificateChallenge
Synopsis
Generate domain validation challenges.
Syntax
Get-PropertyCertificateChallenge [-CnamesFrom] <String> [-EdgeRCFile <String>] [-Section <String>]
[-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
If you're using Default Domain Validation (DV) certificates, you can generate the domain validation challenges ahead of setting hostnames for your property.
Ordinarily, you get the challenges when you Add-PropertyHostname
or Add-BucketHostname
. This operation returns the validationCname
object that you use to validate the certificate's domain.
For each requested property hostname, create a new CNAME record in the DNS configuration and map the object's hostname
to the target
.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Account switch keys can be found using Get-AccountSwitchKey
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-CnamesFrom
Comma-separated string containing the property hostnames to generate certificate domain validation challenges for.
You can only specify property hostnames that you want to deploy using Default Domain Validation (DV) certificates.
Type String
Parameter Sets (All)
Aliases None
RequiredTrue
Position0
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type String
Parameter Sets (All)
Aliases None
RequiredFalse
Position Named
Default value None
Accept pipeline inputFalse
Accept wildcard charactersFalse
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object
Related links
Updated 4 months ago