Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoUsing the CLI, how can I get an OTP value in a template (tpl)?
If I just refer to an item, like "{{ op://Vault/my_item/one-time password }}", it outputs the 32 char string that generates the value. However, I don't need that string, I need the value that's gener...
Former Member
4 years agoYeah I have the same problem, doesn't seem to be supported, given there's https://developer.1password.com/docs/cli/secrets-environment-variables/ in the documentation about it. I suppose you could just use something like this:
export SOME_VAR=$(op item get <item> --otp)