ves-io-schema-secret_management-CustomAPI-GetPublicKey

Examples of performing secret_management CustomAPI GetPublicKey

Usecase:

Get Public Key

Request:

Request using vesctl:

vesctl request rpc secret_management.CustomAPI.GetPublicKey -i request.yaml --uri /public/get_public_key --http-method GET

where file request.yaml has following contents:

{}

vesctl yaml response:

{}

Request using curl:

curl -X 'GET' -H 'Content-Type: application/json' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build185306297_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/secret_management/get_public_key?key_version=0'

curl response:

HTTP/1.1 200 OK
Content-Length: 18
Content-Type: application/json
Date: Mon, 19 Oct 2020 09:49:06 GMT
Vary: Accept-Encoding

{
  "data": null
}