hercules-ci-agent-0.9.10: Runs Continuous Integration tasks on your machines
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.Effect

Synopsis

Documentation

writeSecrets Source #

Arguments

:: (MonadIO m, KatipContext m) 
=> Bool

Whether we're in a friendly context, such as the CLI.

-> Maybe SecretContext 
-> Maybe FilePath

Optional source file

-> Map Text SecretRef

Declared secrets from the effect derivation

-> Map Text (Sensitive Secret)

Local secrets

-> Map Text (Sensitive (Map Text Value))

Server secrets

-> FilePath 
-> m () 

Write secrets to file based on secretsMap value

(=:) :: k -> a -> Map k a Source #