Name
Get-JS7SigningKey
SYNOPSIS
Returns the current accounts's signing key from the user profile
SYNTAX
Get-JS7SigningKey [<CommonParameters>]
DESCRIPTION
Return the key pair of private key and public key/certificate of the current account that is used to sign
objects such as workflows for deplyoment.
JS7 supports the following key types: PGP, RSA and ECDSA.
* PGP keys use a private key and a public key.
* RSA and ECDSA use a private key and a signed certificate. The certificate can be self-signed or CA-signed. The public key is not used.
Depending on the security level that JOC Cockpit is operated for one of the following items is returned:
* public key/certificate if security level HIGH is used.
* public key/certificate and private key if security level LOW or MEDIUM are used.
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
PS > $key = Get-JS7SigningKey
For RSA and ECDSA key types the certificate and the private key is returned if JOC Cockpit is operated for security level LOW or MEDIUM.
-------------------------- EXAMPLE 2 --------------------------
PS > $key = Get-JS7SigningKey
For RSA and ECDSA key types the certificate is returned if JOC Cockpit is operated for security level HIGH.
-------------------------- EXAMPLE 3 --------------------------
PS > $key = Get-JS7SigningKey
For PGP key types the public key and the private key is returned if JOC Cockpit is operated for security level LOW or MEDIUM.
-------------------------- EXAMPLE 4 --------------------------
PS > $key = Get-JS7SigningKey
For PGP key types the public key is returned if JOC Cockpit is operated for security level HIGH.