Create Key Pair

Creates a new key pair in Artifactory or replaces an existing pair.

Since: 7.6.0

Notes: Requires Artifactory Pro

You need to add the --data-binary flag to the call when the keys are provided as part of the JSON payload.

Security: Requires an admin user

Body Params
string
required

The name of the key pair (mandatory)

string
enum
required

The type of key pair (mandatory)

Allowed:
string
required

The alias for the key pair (mandatory)

string
required

The private key in PEM format (mandatory)

string
required

The public key in PEM format (mandatory)

string

The passphrase for the private key

string

Vault key identifier

vaultPublicKey
object

Vault public key configuration

Responses

Language
Credentials
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json