Compartilhar via


Get-PowerAppGenerateProtectionKey

Creates a protection key.

Syntax

Get-PowerAppGenerateProtectionKey
   -LocationName <String>
   -KeyName <String>
   -KeyPassword <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Get-PowerAppGenerateProtectionKey cmdlet returns a new protection key. Use Get-Help Get-PowerAppGenerateProtectionKey -Examples for more detail.

Examples

EXAMPLE 1

Get-PowerAppGenerateProtectionKey -LocationName $LocationName -KeyName $KeyName -KeyPassword $KeyPassword

Returns a new protection key.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2020-06-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-KeyName

The key name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-KeyPassword

The key password.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-LocationName

The location name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False