| Secret type | Description |
|---|---|
| Symmetric keys | Symmetric keys perform reversible encryption of data at rest, typically by using the AES algorithm set. Symmetric keys are required to enable features, such as encrypted Cloud Object Storage containers and Cloud Block Storage volumes, encrypted Cloud Backups, and so on. |
| Asymmetric keys | Asymmetric key pairs (sometimes referred to as public and private keys) are used in many scenarios where communication between untrusted parties is necessary. The most common case is with SSL/TLS certificates. Asymmetric keys are also used in solutions like SSH keys, S/MIME (mail) encryption, and digital signatures. |
| Raw secrets | Barbican stores raw secrets as binary blocks of data that are encrypted. Customers can use the API to store any secrets in any format that they want. |
| Option | Description |
|---|---|
| Sends the specified data in a POST request to the HTTP server | |
| Includes the HTTP header in the output. | |
| Specifies an HTTP header in the request. | |
| Specifies the request method to use when communicating with the HTTP server. The specified request is used instead of the default method, which is GET. For example, specifies to use the PUT request method. |
id is returned with an
expires attribute that specifies when the
token expires. text/plain.application/octet-stream.Accept header that is provided in the Accept header, read Accept header set to
application/json.Accept
header to either
application/octet-stream for
binary secrets or to text/plain
for text-based secrets. 201 Created
response as shown in the following example:secret_ref
information as you will need it for
uploading the secret data.200 OK
message as shown in the following
example: