Run this program with an appropriate service token and attempt to fetch an item with . characters in the name:
$ OP_SERVICE_ACCOUNT_TOKEN=... go run main.go "op://Test Vault/foo.bar.baz/username"
Actual Behavior
The program logs an error:
2024/07/15 10:31:41 error resolving secret reference: secret reference has invalid format - must be "op://<vault>/<item>/[section/]field"
exit status 1
Expected Behavior
The program fetches the item's contents and exists successfully.
Scenario & Reproduction Steps
Run this program with an appropriate service token and attempt to fetch an item with
.
characters in the name:Actual Behavior
The program logs an error:
Expected Behavior
The program fetches the item's contents and exists successfully.
SDK version
v0.1.0-beta.10
Additional information
No response