Keypair

List supported key pair types

Retrieves the SSH public key types accepted when you import a key pair. Importing a public key of any other type is rejected. See SSH keys for additional information.

get/core/supported-keypairs

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/core/supported-keypairs
  • Auth: API key in header api_key

Response

Retrieval of supported key pair types successful.

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

supported_key_typesstring[]

The SSH public key types accepted when you import a key pair.

Example response

{
  "status": true,
  "message": "Getting supported keypair public key types successful",
  "supported_key_types": [
    "ssh-ed25519"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.