Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Region ID
1
Body
Secret name
"AES key"
Secret payload. For HTTPS-terminated load balancing, provide base64 encoded conents of a PKCS12 file. The PKCS12 file is the combined TLS certificate, key, and intermediate certificate chain obtained from an external certificate authority. The file can be created via openssl, e.g.'openssl pkcs12 -export -inkey server.key -in server.crt -certfile ca-chain.crt -passout pass: -out server.p12'The key and certificate should be PEM-encoded, and the intermediate certificate chain should be multiple PEM-encoded certs concatenated together
"aGVsbG8sIHRlc3Qgc3RyaW5nCg=="
The encoding used for the payload to be able to include it in the JSON request. Currently only base64 is supported
base64
The media type for the content of the payload
"application/octet-stream"
Secret type. symmetric - Used for storing byte arrays such as keys suitable for symmetric encryption; public - Used for storing the public key of an asymmetric keypair; private - Used for storing the private key of an asymmetric keypair; passphrase - Used for storing plain text passphrases; certificate - Used for storing cryptographic certificates such as X.509 certificates; opaque - Used for backwards compatibility with previous versions of the API
certificate
, opaque
, passphrase
, private
, public
, symmetric
Metadata provided by a user or system for informational purposes.
"aes"
Metadata provided by a user or system for informational purposes. Value must be greater than zero.
x > 0
256
Datetime when the secret will expire.
"2025-12-28T19:14:44.180394"
Metadata provided by a user or system for informational purposes.
"cbc"
Response
OK
List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
* GET /v1/tasks/{
task_id}
- Check individual task status and details
Poll task status until completion (FINISHED
/ERROR
) before proceeding with dependent operations.
["d478ae29-dedc-4869-82f0-96104425f565"]