-
Notifications
You must be signed in to change notification settings - Fork 1
/
appsettings.json
91 lines (91 loc) · 3.17 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"Domain": "dcslsoftware.com",
"TenantId": "24adaeaa-5002-4f6e-aa57-b66c036ba791",
"ClientId": "66e3bee6-e003-4ff1-80c2-156e737a59ac",
"Secret": null,
"CallbackPath": "/signin-oidc",
"SignedOutCallbackPath": "/signout-oidc"
},
"ClientApplication": {
"Url": "" //Client application (UI) URL. Used to generate set/reset user password links
},
"ConnectionStrings": {
"ApplicationConnectionString": "Server=localhost; Database=ObeliskDev; Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=true;"
},
"CookieAuthN": {
"AllowCrossSiteCookies": false
},
"Cors": {},
"DomainEvents": {
"Queue": {
"ConnectionString": null, // SECURE PLACE
"QueueName": "obelisk-domain-events"
}
},
"EmailSender": {
"Folder": {
"FromEmailAddress": "[email protected]",
"FromEmailName": "Obelisk",
"UseEnforcedToEmailAddress": false,
"EnforcedToEmailAddress": "[email protected]",
"Folder": "c:\\inetpub\\mailroot\\Obelisk\\"
},
"SendGrid": {
"FromEmailAddress": "[email protected]",
"FromEmailName": "Obelisk",
"UseEnforcedToEmailAddress": false,
"EnforcedToEmailAddress": "[email protected]",
"Key": null // SECURE PLACE
}
},
"Identities": {
"Seeding": {
"AdminPassword": null // This value is populated via deployment pipeline, and it can be found in KeyVault after that
}
},
"FileStorage": {
"AzureBlobStorage": {
"ConnectionString": "UseDevelopmentStorage=true",
"ContainerName": "obelisk",
"SharedAccessDuration": "01:00:00" // TimeSpan: duration of the SAS token for downloadable link
},
"FileSystem": {
"StorageRootPath": "%TEMP%"
}
},
"Infrastructure": {
"EnableDetailedErrors": false, // To control EF detailed errors in exceptions
"EnableSensitiveDataLogging": false // To control EF query parameters logging
},
"Jwt": {
"Secret": "abRvalG:qu0v@di$Infect-10", //Please make sure you modify this secret for your application
"Issuer": "https://localhost:44342", //app url, e.g https://localhost:44342
"AccessTokenExpirationMinutes": 30,
"RefreshTokenExpirationDays": 7
},
"KeyVault": {
"Enabled": false,
"Name": "" // Insert here the KeyVault Name for production environment. URL will be: https://<Name>.vault.azure.net
},
"Localization": {
"SupportedCultures": [
"en-GB"
]
},
"LockoutMaxFailedAccessAttempts": 5, // The number of failed access attempts allowed before a user is locked out
"SecurityHeaders": {
"X-Frame-Options": "SAMEORIGIN",
"X-XSS-Protection": "1; mode=block",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Permitted-Cross-Domain-Policies": "none",
"Access-Control-Expose-Headers": "Content-Disposition" //We need to expose this header in case if we're planning to download files in browser (for CORS requests). Content-Disposition header contains file name
},
"Serilog": {
"Enrich:FromLogContext": "FromLogContext",
"Properties": {
"ApplicationExecutable": "WebApi"
}
}
}