* 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:
julian-mcnichols 2022-06-27 10:11:30 -05:00 коммит произвёл GitHub
Родитель e4dec86ae1
Коммит 2854f99bb6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 1 добавлений и 26 удалений

Просмотреть файл

@ -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": {