Skip to content

Add support for secret references with op read #66

@adnandaut

Description

@adnandaut

Is your feature request related to a problem? Please describe.
The 1Password CLI supports using secrets references like op://<vault-name>/<item-name>/[section-name/]<field-name>, which can be read using the op read command.

Describe the solution you'd like
I would like the OnePassword class to support reading secrets in the above fashion.

Describe alternatives you've considered
The alternative would be using the UUID or name of the item. But that is just a different feature. Using op read also has the advantage of being independent --reveal as mentioned in #65.

Additional context
If you are in, I would be willing to implement the feature myself and send you a PR. Just let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions