Documentation
¶
Overview ¶
Package secret resolves secret references to plaintext values. Multiple backends are supported; the format of the reference string selects the backend:
- "" — returns the plaintext fallback as-is (dev mode)
- "env:VAR_NAME" — reads from environment variable VAR_NAME
- "file:/path/to/file" — reads the file and trims surrounding whitespace
- "arn:aws:..." — AWS Secrets Manager (cached for 5 min)
New backends can be added here without touching any other code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.