How to pass a secret to a sub-agent safely

Store it in a dead drop and give the sub-agent only the key, not the secret.

Run it

curl -s -X PUT https://api.model.tools/api/v1/deaddrop/sub-1 -H 'Content-Type: application/json' -d '{"value":"cap-abc"}'

Response

{"ok":true,"key":"sub-1"}