The Private Data Object

Reference for the private data object in Waddle templates, which holds a project's local-only values like remote passwords, credentials and secrets.

private is a reflection of .config.private.json, the private configuration file Waddle keeps on disk for each project. It holds local-only data for the project: anything that shouldn’t be committed to git, most often because it’s sensitive (passwords, secrets) or specific to the machine building the project.

Top-level fields

Field Type Comment
display_name String A human-friendly name for the project, shown in the Waddle UI.
remote_passwords RemotePasswords Login passwords for the project’s configured remotes, keyed by environment.
htpasswd_passwords HtpasswdPasswords HTTP basic-auth passwords, keyed by environment.
smtp_password String Password for the SMTP relay used on remotes.
website_credentials WebsiteCredentials The website’s database and admin account credentials.
secrets Secrets Free-form secret values keyed by id.
ignored_defects Array of Defect Analytics defect-suppression list; internal bookkeeping, not meant to be read from a template.
builder_backup_rotation Integer Per-project override of how many builder backup directories to retain.

RemotePasswords

Field Type Comment
production String, or empty Login password for the production remote.
stage String, or empty Login password for the stage remote.
dev String, or empty Login password for the dev remote.

Only populated for remotes using plain password authentication. Ignored when a remote is configured to use a SSH key.

HtpasswdPasswords

Same shape as RemotePasswords: production, stage, dev, each a String or empty. Holds the HTTP basic-auth password for that environment, when one is set.

WebsiteCredentials

Field Type Comment
db_username String Database username.
db_password String Database password.
admin_password String Admin account password where applicable.

Secrets

secrets is a free-form map from a stable id to a string value, for values a template needs that don’t fit anywhere else in the schema, e.g. {{private.secrets.wp_auth_key}} (WordPress specific secret value). Empty unless the project defines an entry.