allow() accepts exact hosts and wildcard patterns such as *.example.com. Use allow_any_host_dangerous(true) only when every destination may receive the real secret.
Substitution defaults to headers enabled, query disabled, and body disabled. Basic authentication follows the header setting. Disabling substitution does not make a placeholder inert: the placeholder is still blocked unless the request host matches allow_passthrough_for().
SecretViolationAction has Block, BlockAndLog, and BlockAndTerminate. The per-secret action overrides the sandbox-wide action. Passthrough is a host policy, not a violation action.
See Secrets for CLI and YAML syntax.