Skip to content

Update documentation for secret placeholders#4221

Merged
antonmedv merged 2 commits into
deployphp:masterfrom
staabm:patch-5
May 21, 2026
Merged

Update documentation for secret placeholders#4221
antonmedv merged 2 commits into
deployphp:masterfrom
staabm:patch-5

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented May 21, 2026

fix typo in docs

Comment thread docs/api.md
Comment on lines 361 to 363

Pass secrets via `%name%` placeholders so they are redacted in logs:
Pass secrets via placeholders (e.g. `%token%`) so they are redacted in logs:
```php
run('curl -u admin:%token% https://api.example', secrets: ['token' => getenv('TOKEN')]);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the docs felt misleading, as they were talking about a %name% placeholder, while showing a example using a %token% placeholder

@antonmedv antonmedv merged commit dd028d6 into deployphp:master May 21, 2026
9 checks passed
@staabm staabm deleted the patch-5 branch May 21, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants