New-​Azure​VM​Sql​Server​Key​Vault​Credential​Config

Creates a configuration object for SQL server key vault credential on a virtual machine.

Syntax

New-AzureVMSqlServerKeyVaultCredentialConfig
   [-ResourceGroupName] <String>
   [-AzureKeyVaultUrl <String>]
   [-CredentialName <String>]
   [-Enable]
   [-ServicePrincipalName <String>]
   [-ServicePrincipalSecret <SecureString>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Required Parameters

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

Optional Parameters

-AzureKeyVaultUrl
Type:String
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:False
Accept pipeline input:False
Accept wildcard characters:False
-CredentialName
Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Enable
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ServicePrincipalName
Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ServicePrincipalSecret
Type:SecureString
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
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:False
Accept pipeline input:False
Accept wildcard characters:False