Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoIs it possible to inject a OTP into a config file?
I've set up a config file template as described here: https://developer.1password.com/docs/cli/secrets-config-files
Everything is working great, except for the OTP. The reference ( op://<vault>/<i...
andi_t_1P
1Password Team
4 years agoHi @nate886 , the answer to your question is that, currently, there is no way in which you could retrieve the totp value of a one time password using secret references. You could only achieve that using op item get <uuid> --otp. That being said, I just filed an internal feature request for making this possible with secret references well, with op read or op inject more specifically.
All the best,
Andi