support for combining or concatenating fields

I wanted to add my name to the feature request discussed at this old topic with @Ben : https://1password.community/discussion/74155/concatenate-password-with-onetime-password/p3

It would be great if we could create entries (maybe in a text field?) that are concatenations or combinations of other entries. For example, a field with a syntax like {password},{otp} would be perfect for signing into our VPN.

For those of you in the same boat as me, I also wanted to give an update to the script that @pcfleischer provided back in that post. The CLI has changed so his snipped doesn't work. Here's what works for me now:

vpn-clip() {
  # get the password
  item_password=$(op item get your-1password-item --fields label=password)
  # get the one-time code
  item_totp=$(op item get your-1password-item --otp)
  # concatenate and put them in the clipboard for pasting
  echo -n $(echo "${item_password},${item_totp}") | pbcopy
}

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

Comments

  • Hi @roger0harrison,

    Thanks for taking the time to share this request. I've gone ahead and it passed it on internally so the team can better track interest. Let our team know if we can be of any help with anything in the future.

    ref: pb-35636035

This discussion has been closed.