< Back

New-AzureRmVMSqlServerKeyVaultCredentialConfig

Tue Jan 29, 2019 9:38 pm

NAME New-AzureRmVMSqlServerKeyVaultCredentialConfig



SYNOPSIS

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





SYNTAX

New-AzureRmVMSqlServerKeyVaultCredentialConfig [-ResourceGroupName] <String> [-AzureKeyVaultUrl <String>] [-CredentialName <String>] [-Enable]

[-ServicePrincipalName <String>] [-ServicePrincipalSecret <SecureString>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-AzureKeyVaultUrl <String>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-CredentialName <String>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Enable [<SwitchParameter>]





Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>





Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ServicePrincipalName <String>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ServicePrincipalSecret <SecureString>





Required? false

Position? named

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

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.KeyVaultCredentialSettings







NOTES











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tialconfig