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,
|
2018-02-27 20:16:19 +01: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",
|
2018-03-29 14:45:04 +02:00
|
|
|
|
"internalIdentity": "http://localhost:33656",
|
|
|
|
|
"internalApi": "http://localhost:4000",
|
|
|
|
|
"internalVault": "http://localhost:4001"
|
2017-08-04 05:12:05 +02:00
|
|
|
|
},
|
2016-10-27 06:09:55 +02:00
|
|
|
|
"sqlServer": {
|
|
|
|
|
"connectionString": "SECRET"
|
|
|
|
|
},
|
|
|
|
|
"mail": {
|
2017-07-14 16:52:15 +02:00
|
|
|
|
"sendGridApiKey": "SECRET",
|
2016-12-03 06:00:22 +01:00
|
|
|
|
"replyToEmail": "hello@bitwarden.com"
|
2016-10-27 06:09:55 +02:00
|
|
|
|
},
|
2017-01-13 00:35:26 +01:00
|
|
|
|
"identityServer": {
|
|
|
|
|
"certificateThumbprint": "SECRET"
|
|
|
|
|
},
|
2017-03-24 03:02:55 +01:00
|
|
|
|
"dataProtection": {
|
|
|
|
|
"certificateThumbprint": "SECRET"
|
|
|
|
|
},
|
2016-12-01 03:51:43 +01:00
|
|
|
|
"storage": {
|
|
|
|
|
"connectionString": "SECRET"
|
2017-01-15 05:24:02 +01:00
|
|
|
|
},
|
2017-12-28 04:39:14 +01:00
|
|
|
|
"events": {
|
|
|
|
|
"connectionString": "SECRET"
|
|
|
|
|
},
|
2017-06-15 21:34:12 +02:00
|
|
|
|
"attachment": {
|
|
|
|
|
"connectionString": "SECRET",
|
2017-07-01 05:01:41 +02:00
|
|
|
|
"baseUrl": "http://localhost:4000/attachments/"
|
2017-06-15 21:34:12 +02:00
|
|
|
|
},
|
2017-01-15 05:24:02 +01:00
|
|
|
|
"documentDb": {
|
|
|
|
|
"uri": "SECRET",
|
|
|
|
|
"key": "SECRET"
|
2017-05-26 06:50:27 +02:00
|
|
|
|
},
|
2018-03-23 18:33:31 +01:00
|
|
|
|
"sentry": {
|
|
|
|
|
"dsn": "SECRET"
|
|
|
|
|
},
|
2017-05-26 06:50:27 +02:00
|
|
|
|
"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
|
|
|
|
},
|
2017-07-28 06:17:31 +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
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/password-hint",
|
2017-09-28 02:53:29 +02:00
|
|
|
|
"Period": "60m",
|
|
|
|
|
"Limit": 5
|
2016-11-13 00:43:32 +01:00
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/email-token",
|
2016-11-13 00:43:32 +01:00
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/email",
|
2017-09-28 02:53:29 +02:00
|
|
|
|
"Period": "60m",
|
2017-09-27 03:58:28 +02:00
|
|
|
|
"Limit": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/verify-email-token",
|
2016-11-13 00:43:32 +01:00
|
|
|
|
"Period": "1m",
|
2017-09-27 03:58:28 +02:00
|
|
|
|
"Limit": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/verify-email",
|
2017-09-28 02:53:29 +02:00
|
|
|
|
"Period": "60m",
|
2016-11-13 00:43:32 +01:00
|
|
|
|
"Limit": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/delete-recover-token",
|
2016-11-13 00:43:32 +01:00
|
|
|
|
"Period": "1m",
|
2017-09-28 02:53:29 +02:00
|
|
|
|
"Limit": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
2017-09-28 03:45:10 +02:00
|
|
|
|
"Endpoint": "post:/accounts/delete-recover",
|
2017-09-28 02:53:29 +02:00
|
|
|
|
"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
|
|
|
|
}
|