Choose settings for your self-hosted Onetime Secret installation. The generated files update as you make changes. This tool covers common choices; other settings use the application's defaults.
The settings below reflect Onetime Secret v0.26.19. Have your installation method and datastore connection details ready. You won't enter passwords or API keys here: add those values on your server after downloading the files. You can bookmark or share this page to save your choices.
The interactive generator has not loaded yet. If this message stays visible, reload the page or use the configuration reference. The controls and exports will become available when it is ready.
Generated files
etc/auth.yaml
mode: simple
etc/config.yaml
emailer:
mode: smtp
features:
domains:
enabled: false
regions:
enabled: false
markdown:
enabled: false
diagnostics:
enabled: false
site:
network:
trusted_proxy:
enabled: false
secret_options:
passphrase:
required: false
default_ttl: 604800
redis:
require_tls: false
.env
# Secrets and connection details your selections need.
# Complete the blank values on your server and keep this file private.
# Most feature switches are in config.yaml and auth.yaml.
SECRET=
FROM_EMAIL=
SMTP_HOST=
SMTP_USERNAME=
SMTP_PASSWORD=
Fill in the blank values in .env on your server and keep the completed file private. The page URL saves your option choices, so you can bookmark it or share a setup without credentials.
Apply configuration
Sezione intitolata “Apply configuration”These files are a starting point for the options above. They do not install databases, configure an identity provider, or replace the setup steps for your Docker or Linux installation.
- Save the YAML settings. For a new source installation, save the generated files as
etc/config.yamlandetc/auth.yamlin the application directory. The application merges these settings with its shipped defaults. For an existing installation, back up your files and merge the generated keys into the matching sections; preserve your other settings and avoid duplicate YAML keys. Leaveetc/defaults/unchanged. - Complete your environment. Add the generated entries to your existing server environment or
.envfile, filling in blank values and preserving existing secrets. Full authentication mode needs a SQL database connection and the independentAUTH_SECRET,ARGON2_SECRET, andACCOUNT_ID_SECRETvalues. The Docker setup guide explains secret generation and additional Compose requirements, includingVALKEY_PASSWORD. Keep the completed file private and out of version control. - Finish any provider or network setup. For SSO, add the variables for the provider you use; the SSO switch alone does not configure a provider. For multiple regions, set
JURISDICTIONto this deployment's identifier andJURISDICTIONSto a list such asEU:eu.example.com,CA:ca.example.com. SetVALKEY_URLorREDIS_URLfor your datastore; requiring TLS also needs a TLS-capable server and avalkeys://orrediss://URL. See the environment variable reference for provider credentials and connection settings. - Make the files available to the application. A source installation reads YAML from its application directory; ensure its service also receives your environment values. In Docker, host files are not automatically available inside the container. Bind-mount your YAML files at
/app/etc/config.yamland/app/etc/auth.yamlfor the application and any workers using them. Use read-only file mounts and retain existing data volumes. Follow your installation guide to pass environment values to each service; the generator's.envsnippet is not a complete Compose environment. - Reload and check the result. Restart the application and workers after changing their configuration. Recreate Docker containers when changing their environment or mounts. Follow Verify your install, then create and retrieve a test secret and try any sign-in method you enabled.
For settings beyond this tool, use the configuration files and precedence reference.