Settings and Configurations
The AIStor Server process stores its configuration in the storage backend directory. These settings define runtime behavior of the AIStor Server process.
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.
Additional settings
Additional settings include those to customize:
- Core settings
- Root credentials
- Batch job functions
- Lifecycle Management
- Metrics and logging
- Notification targets for use with Bucket Notifications
- Identity and access management solutions
- Storage class
- Server-side encryption
- Console
- Object Lambda functions
- Cache
File-based environment variables
Environment variables with a _FILE suffix accept a file path as their value. AIStor reads the value from the specified file at startup. For example, MINIO_ROOT_USER_FILE=/run/secrets/root_user directs AIStor to read the root user credential from the file at that path.
When both a standard environment variable and its _FILE equivalent are defined, AIStor uses the standard environment variable value and ignores the file-based variable.
The following environment variables support the _FILE suffix pattern:
MINIO_ROOT_USER_FILE- Read root access key from fileMINIO_ROOT_PASSWORD_FILE- Read root secret key from fileMINIO_KMS_KES_KEY_FILE- Read KES private key from fileMINIO_KMS_KES_CERT_FILE- Read KES certificate from fileMINIO_KMS_SECRET_KEY_FILE- Read static KMS key from fileMINIO_CONFIG_ENV_FILE- Read environment variables from file