Install
openclaw skills install secure-workspace-enEncrypt API keys, tokens and passwords with age to protect secrets in your workspace.
openclaw skills install secure-workspace-enEncrypt secrets with age to protect them in repos and backups.
# 1. Generate key pair (if not exists)
bash scripts/secure/setup.sh
# 2. Encrypt a secret
echo 'export API_KEY=*** | bash scripts/secure/encrypt.sh scripts/secure/secrets.env.age
# 3. Decrypt on the fly
source <(bash scripts/secure/decrypt.sh scripts/secure/secrets.env.age)
| File | Purpose |
|---|---|
scripts/secure/encrypt.sh | Encrypt stdin → .age |
scripts/secure/decrypt.sh | Decrypt .age → stdout |
scripts/secure/setup.sh | Generate key pair |
age (apt install age / brew install age)The private key is at /root/.age/key.txt. It is never uploaded to the repo.