POST /bhm/api/v1/ssh_keys - Adaptive Applications - BlueCat Gateway - 22.1

BlueCat Health Monitoring Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.1

Description

Add an SSH key.

Parameters

Name Description
body Location: body

Type: application/json

Information about the SSH key in the following format:
{
    "key_name": "string",
    "key": "string",
    "passphrase": "string",
    "root_password": "string",
    "username": "string"
}
Where:
  • key_name: The name for the private key. This is the name used to select the key when adding a server.
  • key: The private key contents.
  • passphrase: The associated passphrase if one has been configured for this key.
  • root_password: If required, the root password.
  • username: The username associated with the private key.

Responses

Status Description
Successful

Code: 200

Body:
{
    "message": "success"
}