docker-sdk-rust/docs/SecretSpec.md
2025-06-16 16:37:36 +07:00

1.2 KiB

SecretSpec

Properties

Name Type Description Notes
name Option<String> User-defined name of the secret. [optional]
labels Option<std::collections::HashMap<String, String>> User-defined key/value metadata. [optional]
data Option<String> 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. [optional]
driver Option<models::Driver> [optional]
templating Option<models::Driver> [optional]

[Back to Model list] [Back to API list] [Back to README]