Skip to content

Latest commit

 

History

History
108 lines (80 loc) · 2.29 KB

File metadata and controls

108 lines (80 loc) · 2.29 KB
external help file
Module Name Az.EventHub
online version https://learn.microsoft.com/powershell/module/Az.EventHub/new-azeventhubkeyvaultpropertiesobject
schema 2.0.0

New-AzEventHubKeyVaultPropertiesObject

SYNOPSIS

Create an in-memory object for KeyVaultProperties.

SYNTAX

New-AzEventHubKeyVaultPropertiesObject [-KeyName <String>] [-KeyVaultUri <String>] [-KeyVersion <String>]
 [-UserAssignedIdentity <String>] [<CommonParameters>]

DESCRIPTION

Create an in-memory object for KeyVaultProperties.

EXAMPLES

Example 1: Construct an in-memory KeyVaultProperties object

New-AzEventHubKeyVaultPropertiesObject -KeyName key1 -KeyVaultUri https://testkeyvault.vault.azure.net

Creates an in-memory object of type IKeyVaultProperties. An array of IKeyVaultProperties can be fed as input to KeyVaultProperty parameter of New-AzEventHubNamespaceV2 and Set-AzEventHubNamespaceV2 to enable encryption.

PARAMETERS

-KeyName

Name of the Key from KeyVault.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-KeyVaultUri

Uri of KeyVault.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-KeyVersion

Key Version.

Type: System.String
Parameter Sets: (All)
Aliases:

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

-UserAssignedIdentity

ARM ID of user Identity selected for encryption.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
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

OUTPUTS

Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.KeyVaultProperties

NOTES

RELATED LINKS