Creates a new signer.

POST
/api/v1/signers
AuthorizationBearer <token>

In: header

configSignerConfigRequest

The signer configuration

Local signer configuration for API requests

keystring

AWS KMS signer configuration for API requests

key_idstring
regionstring

Vault signer configuration for API requests

addressstring
key_namestring
mount_point?string
namespace?string
role_idstring
secret_idstring

Vault Transit signer configuration for API requests

addressstring
key_namestring
mount_point?string
namespace?string
pubkeystring
role_idstring
secret_idstring

Turnkey signer configuration for API requests

api_private_keystring
api_public_keystring
organization_idstring
private_key_idstring
public_keystring

CDP signer configuration for API requests

account_addressstring
api_key_idstring
api_key_secretstring
wallet_secretstring

Google Cloud KMS signer configuration for API requests

keyGoogleCloudKmsSignerKeyRequestConfig

Google Cloud KMS key configuration for API requests

service_accountGoogleCloudKmsSignerServiceAccountRequestConfig

Google Cloud KMS service account configuration for API requests

id?string

Optional ID - if not provided, a UUID will be generated

typeSignerTypeRequest

The type of signer

Value in"plain" | "aws_kms" | "vault" | "vault_transit" | "turnkey" | "cdp" | "google_cloud_kms"

Response Body

curl -X POST "https://loading/api/v1/signers" \  -H "Content-Type: application/json" \  -d '{    "config": {      "key": "string"    },    "type": "plain"  }'
{
  "data": {
    "config": {
      "address": "string",
      "key_name": "string",
      "mount_point": "string",
      "namespace": "string"
    },
    "id": "string",
    "type": "local"
  },
  "error": "string",
  "pagination": {
    "current_page": 0,
    "per_page": 0,
    "total_items": 0
  },
  "success": true
}
{
  "data": null,
  "message": "Bad Request",
  "success": false
}
{
  "data": null,
  "message": "Unauthorized",
  "success": false
}
{
  "data": null,
  "message": "Signer with this ID already exists",
  "success": false
}
{
  "data": null,
  "message": "Internal Server Error",
  "success": false
}