Skip to content

Commit 6fb9419

Browse files
committed
Add runtime injection examples to docs homepage
Show Laravel config:cache and npm build/start examples to highlight the diskless secrets injection capability
1 parent a9f6587 commit 6fb9419

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docs/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,20 @@ keep server
9090
# - Settings management for vaults and stages
9191
```
9292

93+
## Runtime Injection
94+
95+
Execute processes with secrets injected as environment variables - no files written to disk:
96+
97+
```bash
98+
# Laravel: inject secrets during config caching
99+
keep run --vault=ssm --stage=production -- php artisan config:cache
100+
101+
# Node.js: run build or start with injected secrets
102+
keep run --vault=ssm --stage=production -- npm run build
103+
keep run --vault=ssm --stage=production -- npm start
104+
105+
# Any command with secrets available as env vars
106+
keep run --vault=ssm --stage=production -- ./deploy.sh
107+
```
108+
93109
Get started with our [installation guide](/guide/installation), explore the [interactive shell](/guide/shell), try the [Web UI](/WEB_UI), or see all [CLI commands](/guide/reference/cli-reference).

0 commit comments

Comments
 (0)