Set-​Azure​Rm​Logic​App​Access​Key

Updates the access keys of a specified Logic App.

Syntax

Set-AzureRmLogicAppAccessKey
   -AccessKeyName <String>
   [-Force]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-KeyType <String>]
   -Name <String>
   -ResourceGroupName <String>
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

This is the Description section

The Set-AzureRmLogicAppAccessKey cmdlet updates the access key of an Azure Logic App and returns an object that represents the WorkflowSecretKeys. Use this cmdlet to update a Logic App access key in a specified resource group. You can set Logic App access keys by specifying the Logic App name, resource group name, Access key name and KeyType. To use the dynamic parameters, just type them in the command, or type a hyphen sign(-) to indicate a parameter name and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value.

Examples

-------------------------- Example 1 : Sets the access key of a Logic App in a specified Azure resource group. --------------------------

@{paragraph=PS C:\>}



PS C:\>Set-AzureRmLogicAppAccessKey -ResourceGroupName "ResourceGroup1" -Name "LogicApp1" -AccessKeyName "AccessKey1" -KeyType "Primary"

This command sets the access key of a Logic App in a specified Azure resource group.

PrimarySecretKey : <value> SecondarySecretKey : <value>

Required Parameters

-AccessKeyName

Specifies the name of the access key. This parameter is required.

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

Specifies the name of the Logic App. This parameter is required.

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

Specifies a name for the resource group. This parameter is required.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

Do not ask for confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

@{Text=}

Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

@{Text=}

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-KeyType

Specifies the value of KeyType (Primary, Secondary & NotSpecified). This parameter is optional.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
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:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.Azure.Management.Logic.Models.WorkflowSecretKeys