Files
server/dev/secrets.json.example
Matt Gibson 9295303489 Add data protection cert override to recommended dev settings (#7614)
This isn't used for cloud-like prod instances, but is used for self host, which defaults to /etc/bitwarden for consistent self host docker defaults
2026-05-12 06:46:31 -07:00

54 lines
1.8 KiB
JSON

{
"adminSettings": {
"admins": "admin@localhost,owner@localhost,cs@localhost,billing@localhost,sales@localhost",
"role": {
"owner": "owner@localhost",
"admin": "admin@localhost",
"cs": "cs@localhost",
"billing": "billing@localhost",
"sales": "sales@localhost"
}
},
"globalSettings": {
"selfHosted": true,
"sqlServer": {
"connectionString": "Server=localhost;Database=vault_dev;User Id=SA;Password=SET_A_PASSWORD_HERE_123;Encrypt=True;TrustServerCertificate=True"
},
"postgreSql": {
"connectionString": "Host=localhost;Username=postgres;Password=SET_A_PASSWORD_HERE_123;Database=vault_dev;Include Error Detail=true"
},
"mySql": {
"connectionString": "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_123;database=vault_dev"
},
"sqlite": {
"connectionString": "Data Source=/path/to/bitwardenServer/repository/server/dev/db/bitwarden.db"
},
"identityServer": {
"certificateThumbprint": "<your Identity certificate thumbprint with no spaces>"
},
"dataProtection": {
"certificateThumbprint": "<your Data Protection certificate thumbprint with no spaces>"
"directory": "<full path to DataProtection-keys directory (default is /your/home/directory/.aspnet/DataProtection-keys)>"
},
"installation": {
"id": "<your Installation Id>",
"key": "<your Installation Key>"
},
"events": {
"connectionString": "",
"queueName": "event"
},
"licenseDirectory": "<full path to license directory>",
"enableNewDeviceVerification": true,
"enableEmailVerification": true,
"communication": {
"bootstrap": "none",
"ssoCookieVendor": {
"idpLoginUrl": "",
"cookieName": "",
"cookieDomain": ""
}
}
}
}