1
0
mirror of https://github.com/bitwarden/server synced 2025-12-27 05:33:17 +00:00
Files
server/src/Api/settings.json
2017-09-28 14:40:34 -04:00

151 lines
3.3 KiB
JSON

{
"globalSettings": {
"selfHosted": false,
"siteName": "bitwarden",
"projectName": "Api",
"stripeApiKey": "SECRET",
"baseServiceUri": {
"vault": "http://localhost:4001",
"api": "http://localhost:4000",
"identity": "http://localhost:33656",
"internalIdentity": "http://localhost:33656"
},
"sqlServer": {
"connectionString": "SECRET"
},
"mail": {
"sendGridApiKey": "SECRET",
"replyToEmail": "hello@bitwarden.com"
},
"identityServer": {
"certificateThumbprint": "SECRET"
},
"dataProtection": {
"certificateThumbprint": "SECRET"
},
"storage": {
"connectionString": "SECRET"
},
"attachment": {
"connectionString": "SECRET",
"baseUrl": "http://localhost:4000/attachments/"
},
"documentDb": {
"uri": "SECRET",
"key": "SECRET"
},
"notificationHub": {
"connectionString": "SECRET",
"hubName": "SECRET"
},
"yubico": {
"clientid": "SECRET",
"key": "SECRET"
},
"duo": {
"aKey": "SECRET"
},
"braintree": {
"production": false,
"merchantId": "SECRET",
"publicKey": "SECRET",
"privateKey": "SECRET"
}
},
"IpRateLimitOptions": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
"RealIpHeader": "CF-Connecting-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"IpWhitelist": [],
"EndpointWhitelist": [],
"ClientWhitelist": [],
"GeneralRules": [
{
"Endpoint": "*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "*",
"Period": "1s",
"Limit": 5
},
{
"Endpoint": "post:/accounts/register",
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/password-hint",
"Period": "60m",
"Limit": 5
},
{
"Endpoint": "post:/accounts/email-token",
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/email",
"Period": "60m",
"Limit": 5
},
{
"Endpoint": "post:/accounts/verify-email-token",
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/verify-email",
"Period": "60m",
"Limit": 5
},
{
"Endpoint": "post:/accounts/delete-recover-token",
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/delete-recover",
"Period": "60m",
"Limit": 5
},
{
"Endpoint": "post:/two-factor/send-email",
"Period": "10m",
"Limit": 5
},
{
"Endpoint": "post:/two-factor/send-email-login",
"Period": "10m",
"Limit": 10
},
{
"Endpoint": "post:/two-factor/authenticator",
"Period": "1m",
"Limit": 3
},
{
"Endpoint": "post:/two-factor/email",
"Period": "1m",
"Limit": 3
},
{
"Endpoint": "get:/alive",
"Period": "1m",
"Limit": 5
},
{
"Endpoint": "post:/installations",
"Period": "2m",
"Limit": 2
}
]
},
"IpRateLimitPolicies": {
"IpRules": []
}
}