Set-​Azure​Rm​Data​Lake​Analytics​Catalog​Secret

Modifies a Data Lake Analytics catalog secret.

Syntax

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

Description

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

Examples

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.

Required Parameters

-Account

Specifies the Data Lake Analytics account name.

Type:String
Aliases:AccountName
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DatabaseHost

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

Type:String
Aliases:Host
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DatabaseName

Specifies the name of the database holding the secret.

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

Specifies the port number of the secret.

Type:Int32
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Secret

Specifies the name and password of the secret.

Type:PSCredential
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Uri

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

Type:Uri
Position:3
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

None