< Back
Import-EdgeKeyAndCert
Post
NAME Import-EdgeKeyAndCert
SYNOPSIS
Import a key and cert into a keystore in Apigee Edge.
SYNTAX
Import-EdgeKeyAndCert [-Environment] <String> [-Keystore] <String> [-Alias] <String> [-CertFile] <String>
[-KeyFile] <String> [[-KeyPassword] <String>] [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Import a key and cert into a keystore in Apigee Edge.
PARAMETERS
-Environment <String>
Required. The environment in which the keystore is found.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Keystore <String>
Required. The keystore into which to import the key and cert.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Alias <String>
Required. The alias for the key/cert pair.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CertFile <String>
Required. A string, the pathname to the file containing the RSA certificate.
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-KeyFile <String>
Required. A string, the pathname to the file containing the RSA private key.
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-KeyPassword <String>
Optional. A string, the password to the key file. Required only if the key is encrypted.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
Optional. The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Import-EdgeKeyAndCert -Environment test -Keystore ks1 -Alias alias1 -CertFile mycert.cert -KeyFile mykey.pem
RELATED LINKS
Get-EdgeKeystore
Create-EdgeKeystore
SYNOPSIS
Import a key and cert into a keystore in Apigee Edge.
SYNTAX
Import-EdgeKeyAndCert [-Environment] <String> [-Keystore] <String> [-Alias] <String> [-CertFile] <String>
[-KeyFile] <String> [[-KeyPassword] <String>] [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Import a key and cert into a keystore in Apigee Edge.
PARAMETERS
-Environment <String>
Required. The environment in which the keystore is found.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Keystore <String>
Required. The keystore into which to import the key and cert.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Alias <String>
Required. The alias for the key/cert pair.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CertFile <String>
Required. A string, the pathname to the file containing the RSA certificate.
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-KeyFile <String>
Required. A string, the pathname to the file containing the RSA private key.
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-KeyPassword <String>
Optional. A string, the password to the key file. Required only if the key is encrypted.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
Optional. The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Import-EdgeKeyAndCert -Environment test -Keystore ks1 -Alias alias1 -CertFile mycert.cert -KeyFile mykey.pem
RELATED LINKS
Get-EdgeKeystore
Create-EdgeKeystore