< Back
Undo-AzureKeyVaultCertificateRemoval
Post
NAME Undo-AzureKeyVaultCertificateRemoval
SYNOPSIS
Recovers a deleted certificate in a key vault into an active state.
SYNTAX
Undo-AzureKeyVaultCertificateRemoval [-InputObject] <PSDeletedKeyVaultCertificateIdentityItem> [-DefaultProfile <IAzureContextContainer>]
[-Confirm] [-WhatIf] [<CommonParameters>]
Undo-AzureKeyVaultCertificateRemoval [-VaultName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
The Undo-AzureKeyVaultCertificateRemoval cmdlet will recover a previously deleted certificate. The recovered certificate will be active and can be
used for all operations. Caller needs to have 'recover' permission in order to perform this operation.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <PSDeletedKeyVaultCertificateIdentityItem>
Deleted Certificate object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Certificate name. Cmdlet constructs the FQDN of a certificate from vault name, currently selected environment and certificate name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VaultName <String>
Vault name. Cmdlet constructs the FQDN of a vault based on the name and currently selected environment.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.KeyVault.Models.CertificateBundle
NOTES
Example 1
PS C:\\> Undo-AzureKeyVaultCertificateRemoval -VaultName 'MyKeyVault' -Name 'MyCertificate'
This command will recover the certificate 'MyCertificate' that was previously deleted, into an active and usable state.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ateremoval
Remove-AzureKeyVaultCertificate
Get-AzureKeyVaultCertificate
SYNOPSIS
Recovers a deleted certificate in a key vault into an active state.
SYNTAX
Undo-AzureKeyVaultCertificateRemoval [-InputObject] <PSDeletedKeyVaultCertificateIdentityItem> [-DefaultProfile <IAzureContextContainer>]
[-Confirm] [-WhatIf] [<CommonParameters>]
Undo-AzureKeyVaultCertificateRemoval [-VaultName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
The Undo-AzureKeyVaultCertificateRemoval cmdlet will recover a previously deleted certificate. The recovered certificate will be active and can be
used for all operations. Caller needs to have 'recover' permission in order to perform this operation.
PARAMETERS
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <PSDeletedKeyVaultCertificateIdentityItem>
Deleted Certificate object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Name <String>
Certificate name. Cmdlet constructs the FQDN of a certificate from vault name, currently selected environment and certificate name.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-VaultName <String>
Vault name. Cmdlet constructs the FQDN of a vault based on the name and currently selected environment.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
Microsoft.Azure.Commands.KeyVault.Models.CertificateBundle
NOTES
Example 1
PS C:\\> Undo-AzureKeyVaultCertificateRemoval -VaultName 'MyKeyVault' -Name 'MyCertificate'
This command will recover the certificate 'MyCertificate' that was previously deleted, into an active and usable state.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ateremoval
Remove-AzureKeyVaultCertificate
Get-AzureKeyVaultCertificate