New-PowerAppImportProtectionKey
Imports a Power Platform environment protection key.
Syntax
Default (Default)
New-PowerAppImportProtectionKey
-LocationName <String>
-KeyName <String>
-KeyType <Int32>
-KeyPassword <String>
-Key <Byte[]>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The New-PowerAppImportProtectionKey cmdlet imports a new protection key.
Use Get-Help New-PowerAppImportProtectionKey -Examples for more detail.
Examples
EXAMPLE 1
New-PowerAppImportProtectionKey -LocationName $LocationName -KeyName $KeyName -KeyType $KeyType -KeyPassword $KeyPassword -Key $Key
Imports a new protection key.
Parameters
-ApiVersion
Specifies the Api version that is called.
Parameter properties
Type: String
Default value: 2020-06-01
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Key
The key value.
Parameter properties
Type: Byte [ ]
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-KeyName
The key name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-KeyPassword
The key password.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-KeyType
The key type.
Parameter properties
Type: Int32
Default value: 0
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-LocationName
The location name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .