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-09 05:06:28 +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": {
|
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-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
|
|
|
|
},
|
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
|
"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:/auth/token",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 10
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "post:/auth/token/two-factor",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "post:/accounts/register",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "post:/account/password-hint",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "post:/account/email-token",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 2
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "post:/account/email",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "put:/account/email",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 5
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"Endpoint": "get:/alive",
|
|
|
|
|
"Period": "1m",
|
|
|
|
|
"Limit": 5
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"IpRateLimitPolicies": {
|
|
|
|
|
"IpRules": []
|
2016-10-27 06:09:55 +02:00
|
|
|
|
}
|
2015-12-09 04:57:38 +01:00
|
|
|
|
}
|