Expose configured secrets bootstrap APIs

This commit is contained in:
2026-11-18 00:54:42 +00:00
parent ea1f2a808d
commit 60bcb6ddac
4 changed files with 168 additions and 3 deletions

View File

@@ -10,6 +10,10 @@ import (
// Source is an opaque configuration input. Construct sources with File,
// Filesystem.File, SearchConfig, Bytes, Reader, Mapping, or NoSource; the zero
// value is invalid. SearchConfig selects a host file when a load consumes it.
// LoadSecretsIntoEnvironmentFromConfig returns a reusable source that retains
// the selected main document and context: later loads neither rediscover nor
// reread that main or repeat bootstrap. Reusing File or SearchConfig selects
// and reads the main again. Imports and resources remain live on each load.
type Source struct{ value engine.Source }
// Filesystem is a reusable opaque namespace for a caller-owned fs.FS. Copies