external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.KeyVault.dll-Help.xml |
Az.KeyVault |
2.0.0 |
Retrieves a specified key vault account setting or all available key vault account settings that can be configured.
Get-AzKeyVaultSetting [-DefaultProfile <IAzureContextContainer>] [-HsmName] <String> [[-Name] <String>]
[<CommonParameters>]
Get-AzKeyVaultSetting [-DefaultProfile <IAzureContextContainer>] [-HsmObject] <PSManagedHsm> [[-Name] <String>]
[<CommonParameters>]
Get-AzKeyVaultSetting [-DefaultProfile <IAzureContextContainer>] [-HsmId] <String> [[-Name] <String>]
[<CommonParameters>]
The Get-AzKeyVaultSetting cmdlet gets key vault account settings. This cmdlet gets a specific key vault account setting or all key vault account settings.
Get-AzKeyVaultSetting -HsmName testmhsm
Name Value Type HSM Name
---- ----- ---- --------
AllowKeyManagementOperationsThroughARM false boolean testmhsm
This cmdlet gets all account settings in a Managed HSM named testmhsm
.
Get-AzKeyVaultSetting -HsmName testmhsm -Name AllowKeyManagementOperationsThroughARM
Name Value Type HSM Name
---- ----- ---- --------
AllowKeyManagementOperationsThroughARM false boolean testmhsm
This cmdlet gets a specific key vault account setting named AllowKeyManagementOperationsThroughARM
in a Managed HSM named testmhsm
.
$hsmObject = Get-AzKeyVaultManagedHsm -Name testmhsm
Get-AzKeyVaultSetting -HsmObject $hsmObject -Name AllowKeyManagementOperationsThroughARM
Name Value Type HSM Name
---- ----- ---- --------
AllowKeyManagementOperationsThroughARM false boolean testmhsm
This cmdlet gets a specific key vault account setting named AllowKeyManagementOperationsThroughARM
in a Managed HSM named testmhsm
via HsmObject.
Get-AzKeyVaultManagedHsm -Name testmhsm | Get-AzKeyVaultSetting -Name AllowKeyManagementOperationsThroughARM
Name Value Type HSM Name
---- ----- ---- --------
AllowKeyManagementOperationsThroughARM false boolean testmhsm
This cmdlet gets a specific key vault account setting named AllowKeyManagementOperationsThroughARM
in a Managed HSM named testmhsm
via HsmObject.
Get-AzKeyVaultManagedHsm -Name testmhsm | Get-AzKeyVaultSetting -Name AllowKeyManagementOperationsThroughARM
Name Value Type HSM Name
---- ----- ---- --------
AllowKeyManagementOperationsThroughARM false boolean testmhsm
This cmdlet gets a specific key vault account setting named AllowKeyManagementOperationsThroughARM
in a Managed HSM named testmhsm
by piping HsmObject.
Get-AzKeyVaultSetting -HsmId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.KeyVault/managedHSMs/testmhsm -Name AllowKeyManagementOperationsThroughARM
Name Value Type HSM Name
---- ----- ---- --------
AllowKeyManagementOperationsThroughARM false boolean testmhsm
This cmdlet gets a specific key vault account setting named AllowKeyManagementOperationsThroughARM
in a Managed HSM named testmhsm
via HsmId.
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
Hsm Resource Id.
Type: System.String
Parameter Sets: GetSettingViaHsmId
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the HSM.
Type: System.String
Parameter Sets: GetSettingViaFlattenParameters
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Hsm Object.
Type: Microsoft.Azure.Commands.KeyVault.Models.PSManagedHsm
Parameter Sets: GetSettingViaHsmObject
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Name of the setting.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.