Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
zambuca
2 years agoNew Contributor
"Copy secret reference" inconsistent behavior/bugs
I recently installed the CLI and I'm updating an .env with the op:// references but I'm running into some behavior inconsistencies:
1- I have an item that I created manually in 1Password deskt...
chris__hayes
16 days agoOccasional Contributor
"Copy Secret Reference" still uses the title with spaces today. (in 2025)
I believe this is not only wrong behavior, but insecure behavior. The secret reference is going to break the moment you rename the item.
Worse still, what if you're building an app and you have "DB Credentials" for your test database. You release your app, and rename the item to "Testing - DB Credentials". But, you create a NEW item, "DB Credentials" for production. Now your testing code will automatically start using the production database because you created a new item with the same title.
---
Short-term fix
In relation to:
When I call op run ... with that secret reference I actually get an error: invalid character in secret reference: '['
It seems like this bug was fixed, by forcing the UUID. Which means in 2025, this is the way to force "Copy Secret Reference" to use the UUID—put a `[` at the beginning of the title, and "Copy Secret Reference" will always use the UUID.
---
1Password for Linux 8.10.76 (81076034)