Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecretsAPI.Resolve fails on document items #108

Open
pgavlin opened this issue Jul 17, 2024 · 4 comments
Open

SecretsAPI.Resolve fails on document items #108

pgavlin opened this issue Jul 17, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@pgavlin
Copy link

pgavlin commented Jul 17, 2024

Scenario & Reproduction Steps

Run this program with an appropriate service token and attempt to fetch a document item

$ OP_SERVICE_ACCOUNT_TOKEN=... go run main.go "op://Test Vault/yaml/c.yaml"

Actual Behavior

The program logs an error:

2024/07/17 13:42:33 error resolving secret reference: the specified field cannot be found within the item
exit status 1

Expected Behavior

The program fetches the item's contents and exists successfully.

SDK version

v0.1.0-beta.11

Additional information

No response

@pgavlin pgavlin added the bug Something isn't working label Jul 17, 2024
@MOmarMiraj
Copy link
Contributor

Hi @pgavlin,

This behavior isn't a bug, its currently not supported in the SDKs but we have this feature to support document item types on our short-term roadmap.

@pgavlin
Copy link
Author

pgavlin commented Jul 19, 2024

Thanks for the context. Is the roadmap publicly available?

@pgavlin
Copy link
Author

pgavlin commented Jul 19, 2024

(also--I might suggest a clearer error message--it's not clear from the message currently returned by the API that document items are not yet supported)

@Marton6
Copy link
Member

Marton6 commented Jul 30, 2024

Thanks for the context. Is the roadmap publicly available?

The roadmap is not public at the moment.

also--I might suggest a clearer error message--

Thanks for the suggestion! We will work on further improving the error messages

@amandayu1 amandayu1 added enhancement New feature or request and removed bug Something isn't working labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants