It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
Former Member
4 years agoHow to specify 'password' that is not in section
I have an entry which when i do
op read op://quaechen8IolacaeBah0ae4doob4/someimportantthing/password
I get the reply
[ERROR] 2022/07/01 10:20:57 could not read secret op://quaechen8Iol...
Former Member
4 years agoHey @xophermc, thank you for reaching out to us!
In order to reference a field that is not in a section, the secret reference should have the format op://vault/item/field
, completely excluding the section token. However, I was not able to reproduce the error that you have attached to your message. Would it be possible for you to show us what your item looks like, in terms of structure? (with the sensitive fields editted out, of course).
In the meantime, if you want to exclude the section token even in the case of fields within sections, you can use a reference such as op://vault/item/field-id
. The field id's can be retrieved using op item get <item> --format json
. Let me know if this helps. Looking forward to hearing from you!
Best,
Horia