mirror of
https://github.com/bitwarden/server
synced 2025-12-25 04:33:26 +00:00
* send work * fix sql proj file * update * updates * access id * delete job * fix delete job * local send storage * update sprocs for null checks
241 lines
5.4 KiB
JSON
241 lines
5.4 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",
|
|
"sso": "http://localhost:51822",
|
|
"portal": "http://localhost:52313",
|
|
"internalNotifications": "http://localhost:61840",
|
|
"internalAdmin": "http://localhost:62911",
|
|
"internalIdentity": "http://localhost:33656",
|
|
"internalApi": "http://localhost:4000",
|
|
"internalVault": "http://localhost:4001",
|
|
"internalSso": "http://localhost:51822",
|
|
"internalPortal": "http://localhost:52313"
|
|
},
|
|
"sqlServer": {
|
|
"connectionString": "SECRET"
|
|
},
|
|
"mail": {
|
|
"sendGridApiKey": "SECRET",
|
|
"amazonConfigSetName": "Email",
|
|
"replyToEmail": "no-reply@bitwarden.com"
|
|
},
|
|
"identityServer": {
|
|
"certificateThumbprint": "SECRET"
|
|
},
|
|
"dataProtection": {
|
|
"certificateThumbprint": "SECRET"
|
|
},
|
|
"storage": {
|
|
"connectionString": "SECRET"
|
|
},
|
|
"events": {
|
|
"connectionString": "SECRET"
|
|
},
|
|
"attachment": {
|
|
"connectionString": "SECRET",
|
|
"baseUrl": "http://localhost:4000/attachments/"
|
|
},
|
|
"send": {
|
|
"connectionString": "SECRET",
|
|
"baseUrl": "http://localhost:4000/sendfiles/"
|
|
},
|
|
"documentDb": {
|
|
"uri": "SECRET",
|
|
"key": "SECRET"
|
|
},
|
|
"sentry": {
|
|
"dsn": "SECRET"
|
|
},
|
|
"notificationHub": {
|
|
"connectionString": "SECRET",
|
|
"hubName": "SECRET"
|
|
},
|
|
"serviceBus": {
|
|
"connectionString": "SECRET",
|
|
"applicationCacheTopicName": "SECRET"
|
|
},
|
|
"yubico": {
|
|
"clientid": "SECRET",
|
|
"key": "SECRET"
|
|
},
|
|
"duo": {
|
|
"aKey": "SECRET"
|
|
},
|
|
"braintree": {
|
|
"production": false,
|
|
"merchantId": "SECRET",
|
|
"publicKey": "SECRET",
|
|
"privateKey": "SECRET"
|
|
},
|
|
"bitPay": {
|
|
"production": false,
|
|
"token": "SECRET",
|
|
"notificationUrl": "https://bitwarden.com/SECRET"
|
|
},
|
|
"amazon": {
|
|
"accessKeyId": "SECRET",
|
|
"accessKeySecret": "SECRET",
|
|
"region": "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": "get:/hibp/breach",
|
|
"Period": "2s",
|
|
"Limit": 1
|
|
},
|
|
{
|
|
"Endpoint": "post:/installations",
|
|
"Period": "2m",
|
|
"Limit": 2
|
|
},
|
|
{
|
|
"Endpoint": "post:/organizations/*/users/invite",
|
|
"Period": "1m",
|
|
"Limit": 5
|
|
},
|
|
{
|
|
"Endpoint": "post:/organizations/*/users/invite",
|
|
"Period": "1d",
|
|
"Limit": 300
|
|
},
|
|
{
|
|
"Endpoint": "post:/organizations/*/users/*/reinvite",
|
|
"Period": "1m",
|
|
"Limit": 5
|
|
},
|
|
{
|
|
"Endpoint": "post:/organizations/*/users/*/reinvite",
|
|
"Period": "1d",
|
|
"Limit": 300
|
|
},
|
|
{
|
|
"Endpoint": "post:/accounts/prelogin",
|
|
"Period": "1m",
|
|
"Limit": 10
|
|
}
|
|
]
|
|
},
|
|
"IpRateLimitPolicies": {
|
|
"IpRules": []
|
|
}
|
|
}
|