< Back

Set-AzureRmDataLakeAnalyticsCatalogSecret

Tue Jan 29, 2019 9:43 pm

NAME Set-AzureRmDataLakeAnalyticsCatalogSecret



SYNOPSIS

Modifies a Data Lake Analytics catalog secret.





SYNTAX

Set-AzureRmDataLakeAnalyticsCatalogSecret [-Account] <String> [-DatabaseName] <String> [-Secret] <PSCredential> [-DatabaseHost] <String> [-Port]

<Int32> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]



Set-AzureRmDataLakeAnalyticsCatalogSecret [-Account] <String> [-DatabaseName] <String> [-Secret] <PSCredential> [-Uri] <Uri> [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmDataLakeAnalyticsCatalogSecret cmdlet modifies a secret associated with an Azure Data Lake Analytics catalog.





PARAMETERS

-Account <String>

Specifies the Data Lake Analytics account name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DatabaseHost <String>

Specifies the host name for the database the secret is associated with in the format 'mydatabase.contoso.com'.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DatabaseName <String>

Specifies the name of the database holding the secret.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Port <Int32>

Specifies the port number of the secret.



Required? true

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Secret <PSCredential>

Specifies the name and password of the secret.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Uri <Uri>

Specifies the Uniform Resource Identifier (URI) for the secret.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

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

None







NOTES









Example 1: Modify the secret associated with an account



PS C:\\>Set-AzureRmDataLakeAnalyticsCatalogSecret -Account "ContosoAdlAccount" -DatabaseName "databaseName" -Secret (Get-Credential) -Host

"https://example.contoso.com" -Port 8080



This command sets the secret associated with a Data Lake Analytics catalog.







RELATED LINKS

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

New-AzureRmDataLakeAnalyticsCatalogSecret

Remove-AzureRmDataLakeAnalyticsCatalogSecret