Buckit Console Settings
This page covers settings that manage access and behavior for the Buckit Console.
You can establish or modify settings by defining:
an environment variable on the host system prior to starting or restarting the Buckit Server. Refer to your operating system’s documentation for how to define an environment variable.
a configuration setting using
bm admin config set.
If you define both an environment variable and the similar configuration setting, Buckit uses the environment variable value.
Some settings have only an environment variable or a configuration setting, but not both.
Important
Each configuration setting controls fundamental Buckit behavior and functionality. Buckit strongly recommends testing configuration changes in a lower environment, such as DEV or QA, before applying to production.
Browser Settings
The following settings control behavior for the embedded Buckit Console.
Buckit Console
Optional
Animation
Optional
Browser Redirect
Optional
Browser Redirect URL
Optional
- MINIO_BROWSER_REDIRECT_URL
Specify the Fully Qualified Domain Name (FQDN) the Buckit Console listens for incoming connections on.
If you want to host the Buckit Console exclusively from a reverse-proxy service, you must specify the hostname managed by that service.
For example, consider a reverse proxy configured to route
https://example.net/minio/to the Buckit Console. You must set this environment variable to match that hostname for the Console to both listen and respond to requests using that hostname.If you omit this variable, the Console listens and responds to all IP addresses or hostnames associated to the host machine on which the Buckit Server runs.
This setting does not have a configuration variable setting. Use the Environment Variable instead.
Session Duration
Optional
Log Query URL
Optional
- MINIO_LOG_QUERY_URL
Specify the URL of a PostgreSQL service to which Buckit writes Audit logs. The embedded Buckit Console provides a Log Search tool that allows querying the PostgreSQL service for collected logs.
This setting does not have a configuration variable setting. Use the Environment Variable instead.
Content Security Policy
Optional
Configure Buckit 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 Buckit 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.
- MINIO_BROWSER_HSTS_SECONDS
The
max_agethe configured policy remains in effect, in seconds. Defaults to0, disabled. You must configure a non-zero duration to enable theStrict-Transport-Securityheader.export MINIO_BROWSER_HSTS_SECONDS=31536000
The following configuration settings require a service restart to take effect.
To restart the service, use bm admin service restart.
- browser hsts_seconds
The
max_agethe configured policy remains in effect, in seconds. Defaults to0, disabled. You must configure a non-zero duration to enable theStrict-Transport-Securityheader.bm admin config set browser \ hsts_seconds="31536000" \ [ARGUMENT=VALUE ...]
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
bm admin config set ALIAS browser hsts_seconds=31536000Strict-Transport-Security: max-age=31536000
hsts_include_subdomains
bm admin config set ALIAS browser hsts_seconds=31536000 hsts_include_subdomains=onStrict-Transport-Security: max-age=31536000; includeSubDomains
hsts_preload
bm admin config set ALIAS browser hsts_seconds=31536000 hsts_include_subdomains=on hsts_preload=onStrict-Transport-Security: max-age=31536000; includeSubDomains; preload
Referrer Policy
Optional
Configure Buckit Console to generate a Referrer-Policy header in HTTP responses.
Defaults to strict-origin-when-cross-origin.
Prometheus Settings
The following settings manage how Buckit interacts with your Prometheus service.
Prometheus URL
Optional
- MINIO_PROMETHEUS_URL
Specify the URL for a Prometheus service configured to scrape Buckit metrics.
The Buckit Console populates the Dashboard with cluster metrics using the
minio-jobPrometheus scraping job.If you are using a standalone Buckit Console process, this variable corresponds with
CONSOLE_PROMETHEUS_URL.
This setting does not have a configuration variable setting. Use the Environment Variable instead.
Prometheus Job ID
Optional
- MINIO_PROMETHEUS_JOB_ID
Specify the custom Prometheus job ID used for scraping Buckit metrics.
Buckit defaults to
minio-job.If you are using a standalone Buckit Console process, this variable corresponds with
CONSOLE_PROMETHEUS_JOB_ID.
This setting does not have a configuration variable setting. Use the Environment Variable instead.
Prometheus Auth Token
Optional
- MINIO_PROMETHEUS_AUTH_TOKEN
Specify the basic auth token the Console should use to connect to a Prometheus service.
For example, a basic auth token you might use could resemble the following:
eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJwcm9tZXRoZXVzIiwic3ViIjoibWluaW8iLCJleHAiOjQ4NTAwMzg0MDJ9.GZCKR3d0FH2TCvNHSd39HaVfSuQVVV0s8glICBDmhT51V6CQ_hw8gTYlKHJmcpR8aHkqiJwCqcYJhaMmqwe00XY
If you are using a standalone Buckit Console process, this variable corresponds with
CONSOLE_PROMETHEUS_AUTH_TOKEN.
This setting does not have a configuration variable setting. Use the Environment Variable instead.