Skip to content
Configuration reference

Configuration reference

Every key of den.yaml, generated from the config structs den itself reads, so it cannot drift from what den accepts. A key that is not listed here is a mistake: den reports it as a warning when it loads the file.

den reads -c FILE, then ./den.yaml, then ~/.config/den/den.yaml (the config directory follows XDG_CONFIG_HOME; Files and folders). The repository’s annotated den.yaml is a working example, den init --profile P writes one for your account, and the JSON Schema gives your editor completion and inline errors. Each feature’s page has the keys in context, with examples; this page is the complete list.

Required says whether den refuses the file when the key is missing from its entry. A key marked no is optional, or comes from somewhere else, such as the named environment (environments) a service picks with env, or is needed only in some setups, which its description names.

Top-level keys

KeyTypeRequiredDescription
versionstringnoConfig format version, “1”
titlestringnoThe dashboard’s header line; “den — Developer Environment Navigator” when unset
awsobject, keys in awsnoWhere the AWS CLI files are and which SSO sessions to show
menu_orderlist of string, each one of connect, tunnel, runbooks, vpn, aws, secrets, create-env, config, logs, help, updatesnopanels to show, in this order; every panel when empty
disabled_paneslist of string, each one of connect, tunnel, runbooks, vpn, aws, secrets, create-env, config, logs, help, updatesnopanels to hide
environmentsmap of name → object, keys in environments.<name>noNamed groups of shared bastion and profile settings; a service picks one with env:
serviceslist of objects, keys in services[]noThe data stores and stacks the Connect panel lists
tunnelslist of objects, keys in tunnels[]noSSH and SOCKS tunnels
vpnlist of objects, keys in vpn[]noOpenfortivpn connections
runbooksobject, keys in runbooksnoYour scripts, run with den’s connection context
secretsobject, keys in secretsnoThe Secrets panel’s sources
logsobject, keys in logsnoThe log file and level of den itself
updatesobject, keys in updatesnoWhere den looks for new releases
mcpobject, keys in mcpnoWhat AI agents may do through den mcp
aiobject, keys in ainoThe model behind den doctor –explain

aws

This block holds AWS-related configuration paths.

Guide: docs/aws

KeyTypeRequiredDescription
config_pathstringnodefault: ~/.aws/config
credentials_pathstringnodefault: ~/.aws/credentials
sessionslist of objects, keys in aws.sessions[]nosessions curates which discovered SSO sessions den shows, and in what order. Empty means show every session found in the AWS config.

aws.sessions[]

Each entry curates one [sso-session …] discovered in the AWS config.

Guide: docs/aws

KeyTypeRequiredDescription
sessionstringyesmust match an [sso-session X] section
namestringnodisplay name (default: Session)
descriptionstringnoshown as subtitle

environments.<name>

Each entry holds the shared AWS/bastion fields for a named environment group.

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
ec2_instance_idstringnothe bastion instance the SSM transport forwards through
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile the credential is minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls, e.g. eu-central-1
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM through ec2_instance_id when unset

environments.<name>.transport

This block says how den reaches the network a service lives in.

Guide: docs/transports

KeyTypeRequiredDescription
typestring, one of ssm, ssh, eice, kubectlyeshow the network is reached; a service without a transport block uses ssm
hoststringnoRequired by ssh: the destination (user@host) and extra ssh arguments such as [-i, ~/.ssh/key, -J, jump.example.com]. Key or agent auth only: den cannot answer a password prompt.
argslist of stringnossh: extra arguments, e.g. [-i, ~/.ssh/key]
endpoint_idstringnoRequired by eice: the EC2 Instance Connect Endpoint ID. The service host is resolved to an IP first, since the endpoint only tunnels to IPs.
resourcestringnoRequired by kubectl: the resource to forward to (svc/x, deploy/x, pod/x), which must itself serve the service’s port — typically a proxy in front of the database — plus an optional context and namespace.
contextstringnokubectl: the kubeconfig context; the current one when empty
namespacestringnokubectl: the namespace; the context’s when empty

services[]

Each entry describes one service entry in the config file.

KeyTypeRequiredDescription
namestringyesshown in the Connect list
typestring, one of rds, redis, documentdb, redshift, opensearch, neptune, kafka, dockeryeswhich section below holds its settings; that section is required
envstringnoan entry of environments: its keys fill what the section leaves out
rdsobject, keys in services[].rdsnotype: rds — RDS or Aurora
kafkaobject, keys in services[].kafkanotype: kafka — Kafka (planned, not implemented)
redisobject, keys in services[].redisnotype: redis — ElastiCache or MemoryDB
documentdbobject, keys in services[].documentdbnotype: documentdb — DocumentDB
redshiftobject, keys in services[].redshiftnotype: redshift — Redshift
opensearchobject, keys in services[].opensearchnotype: opensearch — OpenSearch
neptuneobject, keys in services[].neptunenotype: neptune — Neptune
dockerobject, keys in services[].dockernotype: docker — Docker Compose

services[].rds

This block holds RDS-specific config.

Guide: docs/rds

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
enginestring, one of postgres, mysqlnothe database engine; postgres when empty
update_pgpassbooleannopostgres only, and not with auth: a stored password is never written to a file
rds_hoststringyesendpoint to forward to: instance, cluster or RDS Proxy
db_namestringnooptional; the client’s own default (PostgreSQL: the user name) when empty
db_userstringnothe database user the IAM token is minted for; required unless auth is set, where it wins over the secret’s username
authobject, keys in services[].rds.authnolog in with a username and password from a secret instead of an IAM token; db_user is required without it

services[].rds.auth

This block logs a database service in with a username and password read from an entry of secrets:, instead of an IAM token.

KeyTypeRequiredDescription
secretstringyesname of an entry under secrets: sops, aws_secretsmanager or one vault secret, not a folder
username_keystringnothe key holding the username, dotted as in the flat view (db.user); username when empty
password_keystringnothe key holding the password, dotted as in the flat view (db.password); password when empty

services[].kafka

This block holds Kafka-specific config.

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
kafka_hoststringnothe broker to forward to (connecting reports that Kafka is planned)

services[].redis

This block holds Redis-specific config.

Guide: docs/elasticache

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
cache_namestringnoElastiCache / MemoryDB IAM auth
user_idstringnoElastiCache / MemoryDB user ID
serverlessbooleannotrue for ElastiCache Serverless
memorydbbooleannotrue for MemoryDB (tokens are signed for memorydb, not elasticache)
redis_hoststringnoendpoint to forward to

services[].documentdb

This block holds Amazon DocumentDB-specific config.

Guide: docs/documentdb

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
documentdb_hoststringyescluster endpoint
db_namestringnooptional, placed in the URI path
ca_filestringnooptional, defaults to ~/.config/den/global-bundle.pem, or global-bundle-cn.pem in cn-* regions

services[].redshift

This block holds Amazon Redshift config.

Guide: docs/redshift

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
update_pgpassbooleannokeep the pgpass file (~/.pgpass, %APPDATA%\postgresql\pgpass.conf on Windows) in sync with the current credential
redshift_hoststringyescluster or workgroup endpoint
cluster_identifierstringnoprovisioned: the cluster; set this or workgroup_name
workgroup_namestringnoServerless: the workgroup; set this or cluster_identifier
db_namestringnodefault “dev”
db_userstringnodb_user is provisioned-only: set, den calls GetClusterCredentials for that user; unset, GetClusterCredentialsWithIAM maps the caller’s IAM identity.
credential_ttlstringnoGo duration, 15m–1h (default 15m)

services[].opensearch

This block holds Amazon OpenSearch Service config: a VPC domain, or an OpenSearch Serverless collection reached through its VPC endpoint.

Guide: docs/opensearch

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
opensearch_hoststringyesdomain or collection endpoint
serverlessbooleannocollection: requests are signed for aoss, not es

services[].neptune

This block holds Amazon Neptune config.

Guide: docs/neptune

KeyTypeRequiredDescription
regionstringnoa label you choose, e.g. eu or us; shown to people and runbooks, den does not interpret it
environmentstringnoa label you choose, e.g. dev, staging or prod; prod and production count as production
productionbooleannoan agent connects a production service only if mcp.allow_production is set, and then asks the user; implied by environment: prod
local_portintegernolocal end of the tunnel; each type has its own default (RDS 50432, Redshift 55439, Redis 16379, DocumentDB 27017, OpenSearch 59200, Neptune 58182)
reconnectbooleannoauto-reopen the SSM port-forward if it drops (e.g. SSM idle timeout); the IAM token is renewed while connected either way
ec2_instance_idstringnothe bastion instance the SSM transport forwards through; that transport requires it, here or from the service’s env
aws_profilestringnoprofile the SSM session runs as
credential_profilestringnoprofile credentials are minted as, and the identity the data store sees; aws_profile when unset
aws_region_codestringnoAWS region of the bastion and of the credential calls; required, here or from the service’s env
transportobject, keys in environments.<name>.transportnohow the network is reached; SSM when unset
neptune_hoststringyescluster, reader or instance endpoint
portintegernocluster port (default 8182)

services[].docker

This block holds docker-compose-specific config.

Guide: docs/docker

KeyTypeRequiredDescription
compose_filestringyesthe Compose file, relative to where den runs or absolute
serviceslist of stringnothe Compose services to start; every one when empty
env_filestringnopassed to docker compose with –env-file

tunnels[]

Each entry describes one SSH tunnel entry in the config file.

Guide: docs/tunnel

KeyTypeRequiredDescription
namestringyesshown in the Tunnel list
descriptionstringnoshown as subtitle
commandstringyesfull shell command, e.g. “ssh -D 5555 -L … user@host”
reconnectbooleannorestart the tunnel after it drops, with backoff
health_checkstringnohost:port dialled through the command’s -D SOCKS proxy to confirm the far side is reachable
monitorbooleannore-run the connection checks every 15 s while connected; two misses count as a drop
auto_connectobject, keys in tunnels[].auto_connectnoauto_connect ties the tunnel to the VPN it runs over: den connects it once that VPN is connected and stops it when the VPN goes down.

tunnels[].auto_connect

This block names the VPN a tunnel runs over.

Guide: docs/tunnel

KeyTypeRequiredDescription
vpnstringyesname of an entry in the vpn: section
enabledbooleannoenabled switches the behaviour on (the default) or off, keeping the link so den can still warn about a manual connect without the VPN.

vpn[]

Each entry describes one VPN entry in the config file.

Guide: docs/vpn

KeyTypeRequiredDescription
namestringyesshown in the VPN list
gatewaystringnogateway host[:port]; required unless config_file is set
descriptionstringnoshown as subtitle
config_filestringnopath to openfortivpn INI config file (-c flag); required unless gateway is set
extra_argslist of stringnomore openfortivpn arguments
health_checkstringnohost:port reachable ONLY via the VPN; probed to confirm the data path is alive
reconnectbooleannoreconnect re-establishes a tunnel that dropped after being fully connected. Deliberately unlike tunnels: openfortivpn logs in through SAML, which opens a browser tab, so retries are capped (see reconnectDelays) and a login that times out is never retried — repeated half-finished logins burn the account’s FortiGate session slots until the gateway 403s every new login.

runbooks

This block holds user-defined operational scripts.

Guide: docs/runbooks

KeyTypeRequiredDescription
dirslist of stringnodirs are scanned for runbooks: every folder in them holding a runbook.yaml is one, and so is an executable carrying a “# den:name” header. Relative paths are read against den.yaml’s directory.
rescanbooleannorescan picks up runbook folders added, changed or removed while den runs. On unless set to false.
templatestringnotemplate is a folder copied for a new runbook by den runbook new and the Runbooks pane’s n; empty uses the built-in one.
agentstringnoagent is the agent that writes a runbook from a description (den runbook new --agent, the pane’s n): auto (the first agent CLI installed, in the order agents’ kind lists them), a kind such as claude or opencode, or the name of an agents entry. Default auto, or the first entry of agents when there are any.
agentslist of objects, keys in runbooks.agents[]noagents are command lines that write a runbook, for a model other than the CLI’s default or a wrapper such as ollama launch opencode. The Runbooks pane’s n offers them when there are two or more.
defaultsobject, keys in runbooks.defaultsnodefaults apply to every runbook; a runbook.yaml or an items entry overrides them one key at a time.
itemslist of objects, keys in runbooks.items[]noitems are runbooks declared inline, for the curated team-shared set.
sequenceslist of objects, keys in runbooks.sequences[]norunbooks run in order, stopping at the first failure
sourceslist of objects, keys in runbooks.sources[]nosources are git repositories of runbook folders that den checks out and lists beside your own, each runbook under its source’s name: platform-ops/rds-status. Nothing updates on its own: den runbook source update moves a source to the newest commit of its ref.
allow_sourceslist of stringnoallow_sources limits the repositories a source may come from, as host/owner/repo patterns with * wildcards: “ghe.acme.com/ops/*”. Empty allows any.
draftsobject, keys in runbooks.draftsnodrafts are the requests typed into the Runbooks pane’s n and E forms: how long an unfinished one is kept, and what happens to a request once its runbook is created.

runbooks.agents[]

Each entry is one named way to start an agent that writes a runbook.

Guide: docs/runbooks/agents/cli

KeyTypeRequiredDescription
namestringyesname is what the pop-up shows and what runbooks.agent and den runbook new --agent refer to.
commandstringyescommand is the command line, split on whitespace (no shell quoting): claude --model opus, ollama launch claude --model glm-5:cloud. den adds its own arguments after it.
kindstring, one of claude, codex, opencode, copilot, qwen, droid, pi, kiminokind says which agent CLI the command starts, so den passes the arguments that CLI takes: claude (Claude Code), codex (Codex), opencode (OpenCode), copilot (Copilot CLI), qwen (Qwen Code), droid (Droid), pi (Pi) or kimi (Kimi Code). Empty infers it from a command starting with one of them, or ollama launch <kind> (copilot-cli for copilot); any other wrapper needs it.

runbooks.defaults

These are how den presents a runbook rather than what it runs.

Guide: docs/runbooks

KeyTypeRequiredDescription
historyintegernohistory is how many finished runs are kept on disk; 0 keeps only the last run, in memory. Default 20.
aboutbooleannoabout shows the About tab: the folder’s README.md, the environment den sets and the parameters. Default true.
shellstringnoshell is the command t opens in the runbook’s folder, e.g. “bash –rcfile .venv/bin/activate”. Default $SHELL.
editorstringnoeditor is the command e opens the runbook’s script with, and o a run’s log. Default $VISUAL, then $EDITOR, then vi.
agentstringnoagent is the agent E changes the runbook with: a command line such as claude --model opus, the name of a runbooks.agents entry, a kind such as claude or opencode, or auto. Default runbooks.agent.

runbooks.items[]

Each entry describes one runbook.

Guide: docs/runbooks

KeyTypeRequiredDescription
namestringyeswhat the Runbooks list shows and sequences refer to
descriptionstringnoshown as subtitle
commandstringyesrun with sh -c
cwdstringnoworking directory; relative to den.yaml’s directory
envstringnokey into Config.Environments
env_varsmap of string → stringnoextra environment variables for the run
paramslist of objects, keys in runbooks.items[].params[]novalues asked for before the run
confirmbooleannoask before every run, also when an agent starts it
timeoutstringnoGo duration, e.g. “5m”
retryobject, keys in runbooks.items[].retrynorun again until it exits 0
historyintegernohistory is how many finished runs are kept on disk; 0 keeps only the last run, in memory. Default 20.
aboutbooleannoabout shows the About tab: the folder’s README.md, the environment den sets and the parameters. Default true.
shellstringnoshell is the command t opens in the runbook’s folder, e.g. “bash –rcfile .venv/bin/activate”. Default $SHELL.
editorstringnoeditor is the command e opens the runbook’s script with, and o a run’s log. Default $VISUAL, then $EDITOR, then vi.
agentstringnoagent is the agent E changes the runbook with: a command line such as claude --model opus, the name of a runbooks.agents entry, a kind such as claude or opencode, or auto. Default runbooks.agent.

runbooks.items[].params[]

Each entry is one value prompted for before a runbook runs.

KeyTypeRequiredDescription
namestringyesthe parameter’s name; DEN_PARAM_ plus this, in capitals
descriptionstringnoshown beside the prompt
defaultstringnopre-filled value
optionslist of stringnonon-empty renders a select
requiredbooleannothe prompt does not accept an empty value
secretbooleannomasked input, redacted from logs

runbooks.items[].retry

This block re-runs a runbook until it exits 0.

KeyTypeRequiredDescription
until_successbooleannorun again until the exit code is 0; needs max_attempts or timeout
intervalstringyesGo duration between attempts
max_attemptsintegerno0 = unlimited
timeoutstringnooverall ceiling across attempts

runbooks.sequences[]

Each entry runs named runbooks in order, stopping at the first failure.

Guide: docs/runbooks

KeyTypeRequiredDescription
namestringyesshown in the Runbooks list
descriptionstringnoshown as subtitle
stepslist of stringyesrunbook names
confirmbooleannoask before running the sequence

runbooks.sources[]

Each entry is a git repository of runbook folders.

Guide: docs/runbook-sources

KeyTypeRequiredDescription
namestringyesname prefixes the names of its runbooks: lower case letters, digits and dashes.
urlstringyesurl is the repository: https://host/owner/repo, git@host:owner/repo.git, host/owner/repo, or owner/repo on GitHub. Credentials come from git (a credential helper or an SSH key), never from the URL.
refstringnoref is the tag, branch or commit to check out; empty is the repository’s default branch. A tag or a commit stays put; a branch moves on den runbook source update.
pathstringnopath is the folder of the repository holding the runbook folders; empty is its root.
includelist of stringnoinclude lists the runbook folders to show, with * wildcards; empty shows every one. den runbook install and uninstall edit it.
excludelist of stringnoexclude hides runbook folders Include would show.
env_mapmap of string → stringnoenv_map maps the env names the source’s runbooks use to entries of environments. A runbook whose env is not mapped is not shown: its author’s “prod” is not necessarily yours.

runbooks.drafts

This block says how long den keeps what was typed for an agent.

KeyTypeRequiredDescription
keep_requeststring, one of until-deleted, until-exit, nevernokeep_request is what happens to a request once its runbook is created: until-deleted keeps it until the runbook is deleted, so restarting the agent can send it again; until-exit removes it when the agent exits cleanly by itself; never removes it as soon as the agent has started. Default until-deleted.
daysintegernodays is how many days an untouched draft is kept; 0 keeps drafts until you delete them. Default 30.

secrets

This block lists the secret sources shown in the Secrets pane, grouped by provider.

Guide: docs/secrets

KeyTypeRequiredDescription
sopslist of objects, keys in secrets.sops[]noSOPS-encrypted files
aws_secretsmanagerlist of objects, keys in secrets.aws_secretsmanager[]noAWS Secrets Manager secrets
keepassxclist of objects, keys in secrets.keepassxc[]noentries of KeePass databases
vaultlist of objects, keys in secrets.vault[]noHashiCorp Vault KV secrets
viewstring, one of tree, flatnoview is how secrets with nested values open, unless one sets its own.

secrets.sops[]

Each entry is one SOPS-encrypted file.

Guide: docs/secrets

KeyTypeRequiredDescription
namestringyesshown in the Secrets list
descriptionstringnoshown as subtitle
filestringyes~ is expanded
aws_profilestringnoexported as AWS_PROFILE for KMS keys
aws_regionstringnoexported as AWS_REGION
auto_revealbooleannoshow every value in clear when the file opens
viewstring, one of tree, flatnohow this secret opens when its values are nested; secrets.view when empty
gitobject, keys in secrets.sops[].gitnogit overrides how den follows the file in its git working copy. Not needed otherwise: den finds the repository, the branch and its upstream by itself, and shows whether the file is up to date with it.

secrets.sops[].git

This block is how den follows a secret’s file in its git working copy.

KeyTypeRequiredDescription
branchstringnobranch is the branch whose upstream the file is compared with and updated from, whatever branch is checked out: main to hear of changes on main while working on a feature branch. Empty: the branch checked out. An update only ever fast-forwards that branch while it is checked out.
checkbooleannocheck shows the file’s git state and offers fetch and update. On unless set to false.

secrets.aws_secretsmanager[]

Each entry is one AWS Secrets Manager secret, read with the SDK as aws_profile.

Guide: docs/secrets

KeyTypeRequiredDescription
namestringyesshown in the Secrets list
descriptionstringnoshown as subtitle
secret_idstringyesname or full ARN
aws_profilestringnodefault credential chain when empty
aws_regionstringnothe profile’s region when empty
version_stagestringnoAWSCURRENT (default), AWSPREVIOUS, …
auto_revealbooleannoshow every value in clear when opened
viewstring, one of tree, flatnohow this secret opens when its values are nested; secrets.view when empty

secrets.keepassxc[]

Each entry is one entry of a KeePass database, read with keepassxc-cli.

Guide: docs/secrets

KeyTypeRequiredDescription
namestringyesshown in the Secrets list
descriptionstringnoshown as subtitle
databasestringyes.kdbx, ~ is expanded
entrystringnogroup/entry path, e.g. CI/Jenkins; unset = pick from a list
groupstringnowith no entry: list only entries under this group
key_filestringno~ is expanded; required with no_password
no_passwordbooleannokey file only; never prompts
attributeslist of stringnodefault UserName, Password, URL, Notes
totpbooleannoadd the current TOTP code
remember_passwordstringnoGo duration; unset = ask every time
cli_pathstringnodefault: PATH, then the macOS app
auto_revealbooleannoshow every value in clear when opened

secrets.vault[]

Each entry is one HashiCorp Vault KV secret, or a folder of them when Path ends in “/”, read with the vault CLI and the user’s own token.

Guide: docs/secrets

KeyTypeRequiredDescription
namestringyesshown in the Secrets list
descriptionstringnoshown as subtitle
addressstringnoVAULT_ADDR; your environment’s when empty
namespacestringnoVAULT_NAMESPACE (Enterprise / HCP)
ca_certstringnoVAULT_CACERT, ~ is expanded
mountstringnoKV mount, default “secret”
pathstringyessecret path; a trailing “/” lists a folder
fieldstringnoone key only
versionintegernoKV v2 version; latest when 0
loginstringnoshell command run by L, e.g. vault login -method=oidc
cli_pathstringnodefault: vault on PATH
auto_revealbooleannoshow every value in clear when opened
viewstring, one of tree, flatnohow this secret opens when its values are nested; secrets.view when empty

logs

This block controls file-based logging and log level filtering.

KeyTypeRequiredDescription
levelstring, one of trace, debug, info, warn, errornothe least severe level written; info when empty
file_locationstringnoe.g. ./dist/logs/den.log

updates

This block controls where den checks for and downloads new releases.

Guide: docs/updates

KeyTypeRequiredDescription
github_apistringnoreleases/latest API URL of a fork or GitHub Enterprise server, e.g. https://api.github.com/repos/you/den/releases/latest; a fork on api.github.com reads its own release feed, and GITHUB_TOKEN, when set, makes den use the API
s3_bucketstringnoan S3 mirror of the releases; wins over github_api
s3_prefixstringnoe.g. “den/releases/” — no leading slash
aws_profilestringnouses default AWS profile if omitted
aws_regionstringnoe.g. “eu-west-1”
channelstring, one of stable, prereleasenowhich releases the check offers and the version picker lists: stable (the default), or prerelease for release candidates too
pinstringnohold den on this version, e.g. v1.7.1: the check offers it, older or newer, and nothing else

mcp

This block limits what an AI agent may do through den mcp.

Guide: docs/mcp

KeyTypeRequiredDescription
allowlist of stringnoallow lists the services agents may see, by name, with * and ? wildcards; empty means all of them.
allow_productionbooleannoallow_production lets agents connect production services — and even then only after the user confirms each connect in their MCP client.
allow_runbooksbooleannoallow_runbooks lets agents list and run runbooks; a runbook marked confirm: true still asks the user first.
allow_source_runbooksbooleannoallow_source_runbooks also lets agents list and run the runbooks of runbooks.sources, and even then each run asks the user first.

ai

This block configures den doctor --explain, the only place den calls a language model — and only when asked, after showing what it would send.

KeyTypeRequiredDescription
modelstringnomodel is the Claude model that explains the report (default claude-opus-5).
Last updated on