mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
docs(sandboxes): document wildcard --host patterns for custom secrets
sbx secret set-custom --host accepts wildcards (* for a single label, ** for any number), using the same syntax as network rules. Added a note and examples alongside the repeatable --host guidance. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -232,6 +232,11 @@ $ sbx secret set-custom -g \
|
||||
--value <secret>
|
||||
```
|
||||
|
||||
A `--host` value can also use wildcards, with the same syntax as
|
||||
[network rules](../governance/concepts.md#network-rules): `*` matches a
|
||||
single label (`*.example.com` covers `api.example.com`) and `**` matches any
|
||||
number (`**.example.com` covers `api.example.com` and `v2.api.example.com`).
|
||||
|
||||
> [!WARNING]
|
||||
> Passing the secret as `--value <secret>` records it in your shell history
|
||||
> and exposes it to other processes running as your user. Avoid pasting
|
||||
|
||||
Reference in New Issue
Block a user