зеркало из https://github.com/Azure/azure-saas.git
Settings And Readme Cleanup (#177)
* Settings And Readme Cleanup * Remove extraneous lingering readme and dockerignore files * Settings And Readme Cleanup * Standardize config configured into settings files * Remove connection strings, which should be secret in all cases except localdb and best documented instead of deployed as is * PR Feedback * Restore localdb connection string in appsettings * PR Feedback * Remove unneeded B2C settings from Permissions service * Restore correct localdb connection string
This commit is contained in:
Родитель
e4dec86ae1
Коммит
2854f99bb6
|
@ -4,19 +4,12 @@
|
|||
"KeyVault": {
|
||||
"Url": ""
|
||||
},
|
||||
"AzureAdB2C": {
|
||||
"ClientId": "",
|
||||
"ClientSecret": "",
|
||||
"TenantId": "",
|
||||
"IssuerDomain": ""
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"PermissionsContext": "Server=(localdb)\\mssqllocaldb;Database=Saas.Permissions.Sql;Trusted_Connection=True;MultipleActiveResultSets=true"
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
Permissions API supports two auth schemes:
|
||||
- JWT/AAD Auth
|
||||
- Certificate Auth
|
||||
|
||||
|
||||
Permissions Controller only supports JWT/AAD Auth
|
||||
CustomClaims Controller only support certificate auth
|
||||
|
||||
|
||||
To auth with certificate auth, generate a self signed certificate (not reccomended for prod use). Place the thumbprint in the `SelfSignedCertThumbprint` app setting.
|
||||
Certificate needs to be sent in a .cer format (b64 string) in the `X-ARR-ClientCert` Header. Auth will only succeed if the thumbprints match. Need to add docs on how to add futher validation if needed
|
||||
|
||||
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth
|
||||
|
||||
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/certauth
|
|
@ -1,3 +0,0 @@
|
|||
bin/
|
||||
obj/
|
||||
*.Development.json
|
|
@ -14,7 +14,7 @@
|
|||
"EndPoint" : "",
|
||||
"FromAddress": "",
|
||||
"Subject": "",
|
||||
"Body": "",
|
||||
"Body": ""
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче