A secret reference is a pointer that a connection field holds instead of a value. GateRook reads the value from a store you connected under external secret stores when a call, test or health check needs it, puts it into that call's connection settings, and keeps the value only in memory. The formats are:
vault://kv/stage/db#password, optionally with?version=3, for HashiCorp Vault and OpenBao;vault://database/creds/<role>asks Vault for dynamic credentials.aws-sm://eu-central-1/stage/billing-api#webhook_secret, or the secret's full ARN for another account.gcp-sm://projects/acme-stage/secrets/billing-api-token/versions/latestazure-kv://acme-kv/billing-db#password, optionally with a version.
The part after # picks one key of a JSON secret. Choose the store in the field's menu, or type the reference; Test reference checks it without saving anything.
Fields that say where credentials go, such as a host, URL, address or command, can never come from a store, so whoever can write the store can't send your password to a server of their own. A value read from a store stays in memory only for the store's Keep a resolved value time: 60 seconds by default, at most 15 seconds for prod connections. An AI's import proposal can't set a reference; only you activate one.