Sky.Core.Secret
Sky.Core.Secret — a typed, opaque secret handle.
Types
type Secret
Values
fromEnv : String -> Secret
Read a secret from an environment variable — the primary, recommended
fromString : String -> Secret
Promote an existing runtime `String` into a `Secret` — for a value you
reveal : Secret -> String
The one, loud, server-only escape hatch: turn a `Secret` back into its raw
unsafeFromString : String -> Secret
Like [`fromString`] but exempt from the no-literal lint — for TESTS and