This migration updates the ScopesJson for the ApiClient with Id 91000000-0000-0000-0000-000000000001 to include additional authorization scopes for improved API access control. The Down method reverts the changes if necessary.
36 lines
961 B
JSON
36 lines
961 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Authentication": {
|
|
"OnPremClientCredentials": {
|
|
"Issuer": "Microsoft.SelfService.Portal.Core.API",
|
|
"Audience": "Microsoft.SelfService.Portal.Core.API",
|
|
"SigningKey": "DevelopmentOnly-OnPremClientCredentials-SigningKey-ChangeMe",
|
|
"TokenLifetimeSeconds": 3600,
|
|
"AllowedTokenScopes": [
|
|
"deployment.read",
|
|
"deployment.write",
|
|
"configuration.read",
|
|
"configuration.write",
|
|
"credential.read",
|
|
"credential.write",
|
|
"queue.process",
|
|
"queue.read",
|
|
"template.read",
|
|
"template.write",
|
|
"credential.resolve",
|
|
"token.manage",
|
|
"token.admin"
|
|
]
|
|
}
|
|
},
|
|
"ConnectionStrings": {
|
|
"Context": "Server=.;Database=SSP;TrustServerCertificate=True;Encrypt=False;Trusted_Connection=True"
|
|
}
|
|
}
|