#
# DATABASE CONNECTION
#
[ConnectionStrings]

# SQL Server connection string
DefaultConnection="Data Source=my_db_server;Initial Catalog=my_db_name;User ID=my_username;Password=my_password"

# PostgreSQL connection string
DefaultConnection="Host=my_db_server;Database=my_db_name;Username=my_username;Password=my_password"
DefaultConnection_ProviderName=Postgres


#
# GENERAL CONFIGURATION
#
[General]

# 256-bit key used to encrypt sensitive data stored on the database. Generate it with the following command:
# openssl rand -base64 32
EncryptionKey=

# Hashed root password, see generation instructions at https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/on-premises/tool/hash-root-pass
RootPasswordHash=

# Publicly accessible URL of the website
SiteUrl=

# Name of your instance
SiteName=My Signature API


#
# LICENSES
#
[PkiSuite]

# Your license for the PKI SDK, in Base64 format
SdkLicense=

# Your license for the Web PKI component in binary (Base64) format
WebLicense=


#
# BINDINGS
#
[Bindings]

# Set to `False` if Rest PKI Core will not be behind a reverse proxy (on Linux it almost always is)
UseReverseProxy=True

# If HTTPS is configured, you may change the setting below to
# - `RedirectPages` to redirect users landing on the HTTP site to HTTPS or
# - `Strict` to not only redirect users but also deny incoming API requests through HTTP
HttpsMode=Optional

# If the HTTPS port is not 443, configure it below
#SslPort=8443


#
# PRESETS
#

# Leave this as `False` unless you have configured email sending -- https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/on-premises/configure-email
[Email]
Enabled=False

# Leave this as `False` unless you have configured OIDC -- https://docs.lacunasoftware.com/en-us/articles/rest-pki/core/on-premises/configure-oidc
[Oidc]
Enabled=False
