Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
Anonymous
4 years ago[2,3,4,6] Spaces in secrets references
Hi,
Currently https://developer.1password.com/docs/cli/secrets-reference-syntax that space characters are not allowed in the op://* secrets references. Are there any plans to add support for it ...
Anonymous
4 years agoHi @r00t,
Thank you for trying out our beta, and for your feedback.
We are currently still working on the secret referencing. Your feedback is really valuable to us, so I'll make sure to raise the issue of the limited character set for secret references with my teammates.
In the meantime, a possible workaround for this issue could be to use vault/item ID's, as these are supported by op run/op inject as well.
That is, secret references of type op://<vault-id>/<item-id>/<field-name> or op://<vault-id>/<item-id>/<field-id> work the same as op://<vault-name>/<item-name>/<field-name>. This is assuming you authenticate with the CLI using your 1Password account, and not Connect.
Let me know if this helps you.
Once again, thank you for trying out our product, and keep the feedback coming! We love to hear your input.
Horia