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

188 lines
4.1 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,
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": {
2018-07-12 23:33:17 +02:00
"vault": "https://localhost:8080",
2017-08-04 05:12:05 +02:00
"api": "http://localhost:4000",
"identity": "http://localhost:33656",
"admin": "http://localhost:62911",
2018-08-16 19:50:41 +02:00
"notifications": "http://localhost:61840",
"internalNotifications": "http://localhost:61840",
"internalAdmin": "http://localhost:62911",
"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": {
"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"
},
2018-03-23 18:33:31 +01:00
"sentry": {
"dsn": "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
},
"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
{
2018-08-21 15:49:28 +02:00
"Endpoint": "post:*",
2016-12-03 06:00:22 +01:00
"Period": "1m",
"Limit": 60
},
{
2018-08-21 15:49:28 +02:00
"Endpoint": "post:*",
2016-12-03 06:00:22 +01:00
"Period": "1s",
"Limit": 5
},
2018-08-21 15:49:28 +02:00
{
"Endpoint": "put:*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "put:*",
"Period": "1s",
"Limit": 5
},
{
"Endpoint": "delete:*",
"Period": "1m",
"Limit": 60
},
{
"Endpoint": "delete:*",
"Period": "1s",
"Limit": 5
},
{
"Endpoint": "get:*",
"Period": "1m",
"Limit": 200
},
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
}