Skip to content

Latest commit

 

History

History
134 lines (100 loc) · 3.23 KB

Get-AzKeyVaultCertificateContact.md

File metadata and controls

134 lines (100 loc) · 3.23 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml
Az.KeyVault
200C68A3-A79C-4517-8E5D-8128F6C73A5C
2.0.0

Get-AzKeyVaultCertificateContact

SYNOPSIS

Gets contacts that are registered for certificate notifications for a key vault.

SYNTAX

VaultName (Default)

Get-AzKeyVaultCertificateContact [-VaultName] <String> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

ByInputObject

Get-AzKeyVaultCertificateContact [-InputObject] <PSKeyVault> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

ByResourceId

Get-AzKeyVaultCertificateContact [-ResourceId] <String> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

DESCRIPTION

The Get-AzKeyVaultCertificateContact cmdlet gets contacts that are registered for certificate notifications for a key vault in Azure Key Vault.

EXAMPLES

Example 1: Get all certificate contacts

$Contacts = Get-AzKeyVaultCertificateContact -VaultName "Contoso"
Email                   VaultName
-----                   ---------
username@microsoft.com  Contoso
username1@microsoft.com Contoso

This command gets all of the contacts for the certificate objects in the Contoso key vault, and then stores them in the $Contacts variable.

PARAMETERS

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

KeyVault object.

Type: Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault
Parameter Sets: ByInputObject
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ResourceId

KeyVault Id.

Type: System.String
Parameter Sets: ByResourceId
Aliases:

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

-VaultName

Specifies the name of the key vault.

Type: System.String
Parameter Sets: VaultName
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

Microsoft.Azure.Commands.KeyVault.Models.PSKeyVault

System.String

OUTPUTS

Microsoft.Azure.Commands.KeyVault.Models.PSKeyVaultCertificateContact

NOTES

RELATED LINKS

Add-AzKeyVaultCertificateContact

Remove-AzKeyVaultCertificateContact