NAME
API::Docker::Type::SecretSpec - The body of a POST /secrets/create request
VERSION
version 0.004
DESCRIPTION
Generated from the SecretSpec definition of spec/v1.51.yaml, which the swagger leaves undescribed. paths: says what it is: the body of a POST /secrets/create request and a POST /secrets/{id}/update request.
name
User-defined name of the secret.
labels
User-defined key/value metadata. The keys are the caller's data and are never translated.
data
Data is the data to store as a secret, formatted as a standard base64-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
Name of the secrets driver used to fetch the secret's value from an external secret store. See API::Docker::Type::Driver.
templating
Templating driver, if applicable
Templating controls whether and how to evaluate the config payload as a template. If no driver is set, no templating is used. See API::Docker::Type::Driver.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-api-docker/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.