mirror of
https://github.com/bitwarden/server.git
synced 2024-12-12 15:26:48 +01:00
188 lines
4.1 KiB
JSON
188 lines
4.1 KiB
JSON
{
|
|
"globalSettings": {
|
|
"selfHosted": false,
|
|
"siteName": "Bitwarden",
|
|
"projectName": "Api",
|
|
"stripeApiKey": "SECRET",
|
|
"baseServiceUri": {
|
|
"vault": "https://localhost:8080",
|
|
"api": "http://localhost:4000",
|
|
"identity": "http://localhost:33656",
|
|
"admin": "http://localhost:62911",
|
|
"notifications": "http://localhost:61840",
|
|
"internalNotifications": "http://localhost:61840",
|
|
"internalAdmin": "http://localhost:62911",
|
|
"internalIdentity": "http://localhost:33656",
|
|
"internalApi": "http://localhost:4000",
|
|
"internalVault": "http://localhost:4001"
|
|
},
|
|
"sqlServer": {
|
|
"connectionString": "SECRET"
|
|
},
|
|
"mail": {
|
|
"sendGridApiKey": "SECRET",
|
|
"replyToEmail": "hello@bitwarden.com"
|
|
},
|
|
"identityServer": {
|
|
"certificateThumbprint": "SECRET"
|
|
},
|
|
"dataProtection": {
|
|
"certificateThumbprint": "SECRET"
|
|
},
|
|
"storage": {
|
|
"connectionString": "SECRET"
|
|
},
|
|
"events": {
|
|
"connectionString": "SECRET"
|
|
},
|
|
"attachment": {
|
|
"connectionString": "SECRET",
|
|
"baseUrl": "http://localhost:4000/attachments/"
|
|
},
|
|
"documentDb": {
|
|
"uri": "SECRET",
|
|
"key": "SECRET"
|
|
},
|
|
"sentry": {
|
|
"dsn": "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": "post:*",
|
|
"Period": "1m",
|
|
"Limit": 60
|
|
},
|
|
{
|
|
"Endpoint": "post:*",
|
|
"Period": "1s",
|
|
"Limit": 5
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"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": []
|
|
}
|
|
}
|