Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoArch: Unable to read secrets
I started by attempting to read a secret with regular secret reference format, copied out of the app and pasted into my .bashrc. However I get the following error:
[ERROR] 2023/07/24 05:23:54 ...
Former Member
3 years agoHi @click94, you can prefix the OP_SERVICE_ACCOUNT before your op CLI command like so:
OP_SERVICE_ACCOUNT=value op vault ls
Or, you can export OP_SERVICE_ACCOUNT=value
and within the same shell session, run a op CLI command and it'd use the Service Account token.
I hope that helps, but feel free to followup if you have any questions! Preferably as a new forum topic if it's a long one. :)