Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
sailingbikeruk
3 years agoNew Contributor
Problem using CLI Secrets
I would like to be able to use a secret in a command like this:
vpn login --token op://personal/VPN-Token/TOKENS/Token1
But this fails ...
when i try the secret on its own I get a ...
Former Member
3 years agoHi sailingbikeruk,
You're missing op run --
at the beginning of the command. It's documented here: https://developer.1password.com/docs/cli/reference/commands/run/
Please let me know if this works, or if you run/ran into anything else!
Amanda