Setup
Add a credential
Store a secret once, then refer to it by name everywhere.
Fill it in
Pick one, or create it here.
So you know later why it exists.
Your prompt
Store the credential ${credential:CREDENTIAL}.
What it is for: [your what it is for]
The value is supplied by the user and never by you. Do not ask them to paste a
secret into the chat: it would land in the transcript and go to the model
provider. The form's own field is the place for it.
Once stored, explain how it gets used: a skill, container or integration refers
to it as `${credential:NAME}` and the server substitutes at the moment of use,
so the value itself never appears in a prompt again.Continue and add your fileOpens with everything above already filled in.
Why this works
Agents work with credential NAMES and never values. Once a secret is stored, a skill, a container or an integration refers to it as ${credential:NAME} and the server substitutes at the moment of use, so the value never reaches a prompt, a transcript or a model provider.