Create the injected runtime configuration provider.
Source:R/provider_runtime_config.R
new_runtime_config.RdRuntime configuration contains provider identifiers and logical references, never secret values. Secret material is resolved only through the injected provider when a domain service explicitly requests it.
Usage
new_runtime_config(
profile = Sys.getenv("ADAMVIZ_PROFILE", "local"),
prompt_provider = Sys.getenv("ADAMVIZ_PROMPT_PROVIDER", "mock"),
workspace = Sys.getenv("ADAMVIZ_WORKSPACE", "local"),
evidence_root = Sys.getenv("ADAMVIZ_EVIDENCE_ROOT",
fs::path(tools::R_user_dir("ADaMViz.SubmissionSync", which = "data"), "evidence")),
secret_provider = NULL,
required_secret_references = character()
)Arguments
- profile
Runtime profile: `local`, `test`, or `production`.
- prompt_provider
Logical prompt-provider identifier.
- workspace
Logical workspace identifier.
- evidence_root
Directory containing durable revision evidence and artifacts.
- secret_provider
Function accepting a secret reference and returning its value, or `NULL` when unavailable.
- required_secret_references
Character vector of required references.