NAME
API::Docker::Type::Secret - One entry of the 200 response to GET /secrets
VERSION
version 0.004
DESCRIPTION
Generated from the Secret definition of spec/v1.51.yaml, which the swagger leaves undescribed. paths: says what it is: one entry of the 200 response to GET /secrets and the body of the 200 response to GET /secrets/{id}.
id
Undocumented upstream. The secret's ID. The swagger's example is a 25-character Swarm ID, blt1owaxmitz71s9v5zh81zun; the GET /secrets capture in t/fixtures/secrets_list.json, from Podman 5.4.2 (API 1.41), answers 25 hex characters instead. Serialised as ID -- spelled out, because deriving it from the Perl name would produce Id.
version
The version number of the object such as node, service, etc. See API::Docker::Type::ObjectVersion.
created_at
Undocumented upstream. RFC 3339 with nanoseconds, 2017-07-20T13:55:28.678958722Z in the swagger's example.
updated_at
Undocumented upstream. The same format as "created_at", and identical to it on a secret that has never been updated -- both captured secrets in t/fixtures/secrets_list.json carry the same instant in both fields.
spec
Undocumented upstream. The secret's name, driver and labels. Not its value: the daemon hands that to containers and never back over /secrets, so $secret->spec->data reads undef on anything an engine sent; API::Docker::Role::Entity::Secret says why. See API::Docker::Type::SecretSpec.
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.