Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
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
-Key
The key value.
Parameter properties
| Type: | Byte[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-KeyName
The key name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-KeyPassword
The key password.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-KeyType
The key type.
Parameter properties
| Type: | Int32 |
| Default value: | 0 |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-LocationName
The location name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
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.
