1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-13 15:36:45 +01:00
bitwarden-server/src/Api/appsettings.json

159 lines
3.4 KiB
JSON
Raw Normal View History

2015-12-09 04:57:38 +01:00
{
2016-10-27 06:09:55 +02:00
"globalSettings": {
2017-08-02 23:02:55 +02:00
"selfHosted": false,
2016-10-27 06:09:55 +02:00
"siteName": "bitwarden",
2017-08-15 22:31:19 +02:00
"projectName": "Api",
2017-08-04 05:23:53 +02:00
"stripeApiKey": "SECRET",
2017-08-04 05:12:05 +02:00
"baseServiceUri": {
"vault": "http://localhost:4001",
"api": "http://localhost:4000",
"identity": "http://localhost:33656",
2017-08-10 04:56:28 +02:00
"internalIdentity": "http://localhost:33656"
2017-08-04 05:12:05 +02:00
},
2016-10-27 06:09:55 +02:00
"sqlServer": {
"connectionString": "SECRET"
},
"mail": {
"sendGridApiKey": "SECRET",
2016-12-03 06:00:22 +01:00
"replyToEmail": "hello@bitwarden.com"
2016-10-27 06:09:55 +02:00
},
"identityServer": {
"certificateThumbprint": "SECRET"
},
"dataProtection": {
"certificateThumbprint": "SECRET"
},
"storage": {
"connectionString": "SECRET"
2017-01-15 05:24:02 +01:00
},
2017-12-28 04:39:14 +01:00
"events": {
"connectionString": "SECRET"
},
"attachment": {
"connectionString": "SECRET",
2017-07-01 05:01:41 +02:00
"baseUrl": "http://localhost:4000/attachments/"
},
2017-01-15 05:24:02 +01:00
"documentDb": {
"uri": "SECRET",
"key": "SECRET"
},
"notificationHub": {
"connectionString": "SECRET",
"hubName": "SECRET"
2017-06-15 04:40:33 +02:00
},
"yubico": {
"clientid": "SECRET",
"key": "SECRET"
2017-06-21 06:04:25 +02:00
},
"duo": {
"aKey": "SECRET"
2017-06-22 04:33:45 +02:00
},
"braintree": {
"production": false,
"merchantId": "SECRET",
"publicKey": "SECRET",
"privateKey": "SECRET"
2015-12-09 04:57:38 +01:00
}
2016-11-13 00:43:32 +01:00
},
2017-10-25 16:59:30 +02:00
"apiSettings": {
"ourAddress1": "123 Green St.",
"ourAddress2": "New York, NY 10001",
"ourAddress3": "United States"
},
2016-11-13 00:43:32 +01:00
"IpRateLimitOptions": {
"EnableEndpointRateLimiting": true,
"StackBlockedRequests": false,
2017-01-06 06:38:59 +01:00
"RealIpHeader": "CF-Connecting-IP",
2016-11-13 00:43:32 +01:00
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"IpWhitelist": [],
"EndpointWhitelist": [],
"ClientWhitelist": [],
"GeneralRules": [
2016-12-03 06:00:22 +01:00
{
"Endpoint": "*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "*",
"Period": "1s",
"Limit": 5
},
2016-11-13 00:43:32 +01:00
{
"Endpoint": "post:/accounts/register",
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/password-hint",
"Period": "60m",
"Limit": 5
2016-11-13 00:43:32 +01:00
},
{
"Endpoint": "post:/accounts/email-token",
2016-11-13 00:43:32 +01:00
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/email",
"Period": "60m",
"Limit": 5
},
{
"Endpoint": "post:/accounts/verify-email-token",
2016-11-13 00:43:32 +01:00
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/verify-email",
"Period": "60m",
2016-11-13 00:43:32 +01:00
"Limit": 5
},
{
"Endpoint": "post:/accounts/delete-recover-token",
2016-11-13 00:43:32 +01:00
"Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/accounts/delete-recover",
"Period": "60m",
2016-11-13 00:43:32 +01:00
"Limit": 5
},
2017-09-28 20:40:34 +02:00
{
"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
},
2016-11-13 00:43:32 +01:00
{
"Endpoint": "get:/alive",
"Period": "1m",
"Limit": 5
2017-08-15 22:31:19 +02:00
},
{
"Endpoint": "post:/installations",
"Period": "2m",
"Limit": 2
2016-11-13 00:43:32 +01:00
}
]
},
"IpRateLimitPolicies": {
"IpRules": []
2016-10-27 06:09:55 +02:00
}
2015-12-09 04:57:38 +01:00
}