AdminUI configuration is set using environment variables. These can be setup in different forms, including a web.config
file, a docker-compose.yml
file or Azure appsettings.
AdminUI Configuration Settings (UI)
AuthorityUrl
The IdentityServer installation protecting AdminUIApiUrl
The AdminUI backend websiteUiUrl
The AdminUI frontend websiteAdminUIClientSecret
The AdminUI client shared secret value in plain textDataProtection
Used for configuration of Cookie protection and peristence.Persistence
- The type of persistence can be FileSystem or Database, these require different setup as shown belowType
- FileSystemLocation
- Location to persist keys- OR
Type
- DatabaseDbProvider
Supported types and their values are:SqlServer
MySql
(Note: AdminUI requires the MySQL settinglower_case_table_names
to befalse
)PostgreSql
DataProtectionConnectionString
- The connection string for the data protection database
-
Protection
The certficate or keyvault that will protect the cookies. The two available types are KeyVault and Certifcate. A Certificate can be provided by location or by thumbprint.Type
- KeyVaultKeyIdentifier
- The Azure KeyVault certificate identifier used for key encryption.ClientId
- The Application Client IdClientSecret
- (Optional) The client secret to use for authentication. Optional valid only for Azure hosted scenariosVault
- The KeyVault public Uri- OR
Type
- Certificate
To protect with certificate you can provide either a thumbprint or a location: -
CertificateType
- Thumbprint -Thumbprint
- The thumbprint of the certficate that is installed either for the user or the machine. Location: - OR -CertificateType
- File -Location
- The location on disk of the certificate -Password
(Optional) - The password for the certificate
env.js
AuthorityUrl
The IdentityServer installation protecting AdminUIApiUrl
The AdminUI backend websiteUiUrl
The AdminUI frontend websiteAddUserPassword
Allows for setting a users password on creation (this is for demo purposes only, do not use in production), see more here
AdminUI Configuration Settings (API)
DbProvider
Supported types and their values are:SqlServer
MySql
(Note: AdminUI requires the MySQL settinglower_case_table_names
to befalse
)PostgreSql
IdentityConnectionString
The connection string for the Identity database (Users, Claim Types, Roles etc.)IdentityServerConnectionString
The connection string for the IdentityServer database (Clients, Resources, Persited Grants etc.)OperationalConnectionString
(Optional) The connection string for the Presisted Grants DbContext. If not supplied, AdminUI will use theIdentityServerConnectionString
DataProtectionConnectionString
(Optional) The connection string for the DataProtectionKey DbContext. If not supplied, AdminUI will use theIdentityServerConnectionString
. Only needs configuring if you are using a database to store protection keys in the UI.AuthorityUrl
The IdentityServer installation protecting the APIUiUrl
The AdminUI frontendRequireHttpsMetadata
Whentrue
ensures IdentityServer discovery endpoint uses TLS. Should be true for productionLicenseKey
A valid license key for AdminUIAdminUIClientSecret
The AdminUI client shared secret value in plain textPasswordPolicy:RequireDigit
Defaults totrue
PasswordPolicy:RequireLowercase
Defaults totrue
PasswordPolicy:RequireNonAlphanumeric
Defaults totrue
PasswordPolicy:RequireUppercase
Defaults totrue
PasswordPolicy:RequiredLength
Defaults to6
PasswordPolicy:RequiredUniqueChars
Defaults to1
UsernamePolicy:AllowedUserNameCharacters
Defaults toabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+
UsernamePolicy:RequireUniqueEmail
Defaults totrue
AuditRecordsConnectionString
The database connection string for AdminUI audits, if missing will default to theIdentityServerConnectionString
-
AuditRecordsCulture
Language used for generation of audit records, if missing or invalid will default to Englishen-GB
.Supported languages are: -
de
German -zh-TW
Chinese (Traditional) -zh-CN
Chinese (Simplified) -es
Spanish -fr
French -AuditReadActions
Defaults totrue
. Iffalse
, no audit records will be generated for read actions (e.g when a user views resources though AdminUI) -
LoggingMinimumLevel
Defaults toinfo
. Supported logging levels aredebug
info
warning
error
critical
LoggingOutputTemplate
Defaults to[{Timestamp:dd-MM-yyyy HH:mm:ss} {Level}] {Message}{NewLine}{Exception}
. For more infomation see the serilog docs.