Console Settings
This page covers settings that manage access and behavior for the AIStor Console.
You can establish or modify settings by defining:
- an environment variable on the host system prior to starting or restarting the AIStor Server. Refer to your operating system’s documentation for how to define an environment variable.
- a configuration setting using
mc admin config set
.
If you define both an environment variable and the similar configuration setting, AIStor uses the environment variable value.
Some settings have only an environment variable or a configuration setting, but not both.
Browser Settings
The following settings control behavior for the embedded AIStor Console.
Enable Embedded Console
Optional
Specify off
to disable the embedded AIStor Console.
Animation
Optional
Browser Redirect
Optional
Browser Redirect URL
Optional
Session Duration
Optional
Log Query URL
Optional
Content Security Policy
Optional
Configure AIStor Console to generate a Content-Security-Policy header in HTTP responses.
Defaults to default-src 'self' 'unsafe-eval' 'unsafe-inline';
Strict Transport Security
Optional
Configure AIStor console to generate a Strict-Transport-Security header in HTTP responses.
To generate the header, you must set a duration using either MINIO_BROWSER_HSTS_SECONDS
or hsts_seconds
.
Other HSTS settings are optional.
Examples
The following examples show the rendered header for the given configuration settings.
The equivalent environment variables generate the same result.
All examples use a value of 31536000
, which is the number of seconds in a calendar year (365 days).
hsts_seconds
mc admin config set ALIAS browser hsts_seconds=31536000
Strict-Transport-Security: max-age=31536000
hsts_include_subdomains
mc admin config set ALIAS browser hsts_seconds=31536000 hsts_include_subdomains=on
Strict-Transport-Security: max-age=31536000; includeSubDomains
hsts_preload
mc admin config set ALIAS browser hsts_seconds=31536000 hsts_include_subdomains=on hsts_preload=on
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Referrer Policy
Optional
Configure AIStor Console to generate a Referrer-Policy header in HTTP responses.
Defaults to strict-origin-when-cross-origin
.
Prometheus Settings
The following settings manage how AIStor interacts with your Prometheus service.
Prometheus URL
Optional
Prometheus Job ID
Optional
Prometheus Auth Token
Optional