Built-in Data Sources

System integration with datetime, git, and environment sources

Environment Data Source

The Environment source safely exposes whitelisted environment variables from a configuration file.

Configuration

Add this to your ssi-config.toml:

[[step]]
emoji = "🌍"
path = "environment.txt"
processing = "include"
type = "environment"
options = ["inline"]

Then create environment.txt with one variable name per line:

USER
HOME
SHELL
PATH
BUILD_NUMBER
APP_VERSION

Only variables listed in the whitelist file will be exposed.

Case Sensitivity: Include tokens are case-sensitive. Use 🌍USER to match the USER environment variable — 🌍user won't work.

User Information

Username 🌍USER: mattdm

Home directory 🌍HOME: /home/mattdm

Shell 🌍SHELL: /bin/bash

Build Information

Build number 🌍BUILD_NUMBER:

App version 🌍APP_VERSION:

System Information

Path 🌍PATH: /home/mattdm/bin:/home/mattdm/.cargo/bin:/home/mattdm/.local/bin:/bin:/usr/bin:/usr/local/bin

← Back to Overview