By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Secret references and runtime injection

Instead of writing a token into a config file, write a reference and let a tool resolve it when the process starts. 1Password secret references with op run and Vault Agent templates are common ways to keep plaintext out of files an agent can read. The running process still sees the value, so pair this with egress limits.

Read in this order

  1. Official1Password CLI: Use secret referencesStart here: how to put a reference in config and keep the token out.
  2. Official1Password CLI: op runInject secrets into a process only at launch with op run.
  3. OfficialHashiCorp Vault: What is Vault Agent?The Vault route: an agent that fetches and templates secrets for your process.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.