Set-​Azure​Key​Vault​Certificate​Issuer

Sets a certificate issuer in a key vault.

Syntax

Set-AzureKeyVaultCertificateIssuer
   [-VaultName] <String>
   [-Name] <String>
   [-AccountId <String>]
   [-ApiKey <SecureString>]
   [-Confirm]
   [-IssuerProvider <String>]
   [-OrganizationDetails <KeyVaultCertificateOrganizationDetails>]
   [-PassThru]
   [-WhatIf]
   [<CommonParameters>]
Set-AzureKeyVaultCertificateIssuer
   [-VaultName] <String>
   [-Name] <String>
   [-Confirm]
   -Issuer <KeyVaultCertificateIssuer>
   [-PassThru]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-AzureKeyVaultCertificateIssuer cmdlet sets a certificate issuer in a key vault.

Examples

Example 1: Set a certificate issuer

PS C:\>$Issuer = Set-AzureKeyVaultCertificateIssuer -VaultName "Contosokv01" -Name "TestIssuer01" -IssuerProvider "Test" -AccountId "555" -ApiKey $Password -OrganizationDetails $OrgDetails -PassThru

This command sets the properties for a certificate issuer, and then stores it in the $Issuer variable.

Required Parameters

-Issuer

Specifies the certificate issuer to update.

Type:KeyVaultCertificateIssuer
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of the Issuer.

Type:String
Aliases:IssuerName
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-VaultName

Specifies the name of the key vault.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AccountId

Specifies the account ID for the certificate issuer.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ApiKey

Specifies the API key for the certificate issuer.

Type:SecureString
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IssuerProvider

Specifies the type of certificate issuer.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-OrganizationDetails

Organization details to be used with the issuer.

Type:KeyVaultCertificateOrganizationDetails
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False