SecretCreateRequest

constructor(name: String? = null, labels: Map<String, String>? = null, data: String? = null, driver: Driver? = null, templating: Driver? = null)

Parameters

name

User-defined name of the secret.

labels

User-defined key/value metadata.

`data`

Data is the data to store as a secret, formatted as a Base64-url-safe-encoded (RFC 4648) string. It must be empty if the Driver field is set, in which case the data is loaded from an external secret store. The maximum allowed size is 500KB, as defined in MaxSecretSize. This field is only used to create a secret, and is not returned by other endpoints.

driver
templating