| Crates.io | mogh_secret_file |
| lib.rs | mogh_secret_file |
| version | 1.0.0 |
| created_at | 2026-01-17 21:22:34.603561+00 |
| updated_at | 2026-01-17 21:22:34.603561+00 |
| description | Utilities for reading and writing secret files |
| homepage | |
| repository | https://github.com/moghtech/lib |
| max_upload_size | |
| id | 2051212 |
| size | 15,512 |
Helpers for parsing secret values from file contents.
For example, used to parse secrets from the files specified in env variable ending in _FILE.
Compatible with docker compose secrets, see https://docs.docker.com/compose/how-tos/use-secrets/.
Also contains helpers for writing these files with 0600 level permissions.