Add group to a vault with the CLI

kiranb
kiranb
Community Member

Reading the CLI documentation, it looks like it's not possible to grant a group access to a vault.

I tried handing the op add command a group UUID and a vault UUID in hopes that the functionality was undocumented -- no luck.

My questions:

  • can I do this with the CLI right now? (Did I miss a method?)
  • if not, is this on the roadmap?

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided

Comments

  • cohix
    cohix
    1Password Alumni

    @kiranb this is not something that is available yet, but it is something we're looking to add in a future version :)

  • glyph
    glyph
    Community Member

    Any progress on this in the last few months @cohix ?

  • cohix
    cohix
    1Password Alumni

    @glyph no, unfortunately not. The team responsible for the CLI tool is also responsible for the 1Password SCIM bridge, and its resources have been dedicated to the bridge for the past few months. This means that the CLI tool suffers, which we all are unhappy about, but it is the unfortunate truth. The good thing is that the SCIM bridge is build atop the CLI, so all of the improvements being made to the bridge will be benifiting the CLI as well, starting with the next release.

  • glyph
    glyph
    Community Member

    Thank you for the extra information!

  • Thanks for using op and 1Password!

  • glyph
    glyph
    Community Member

    Any update on this? (cc @cohix @graham_1P)

  • cohix
    cohix
    1Password Alumni

    @glyph We are planning to bring this functionality to the CLI, I just can't share timelines. Development has been ramping up as we've grown the team so that we can actively work on both the SCIM bridge and the CLI at the same time.

  • glyph
    glyph
    Community Member

    Thanks @cohix ! I always understand the need to be circumspect with timelines; just glad to know it’s still being worked on!

  • AGAlumB
    AGAlumB
    1Password Alumni

    Thanks for understanding, and for your passion for 1Password! :chuffed:

  • jfmarquis
    jfmarquis
    Community Member
    edited December 2019

    Hello guys, same demand on my side.
    I'm automatizing deployment so Vaults are created automaticaly, groups also but i'm unable to link them together with CLI.
    please provide this helpful functionnality

  • cohix
    cohix
    1Password Alumni

    This is something being worked on, we'll have more to share soon :)

  • glyph
    glyph
    Community Member

    "soon" 👀

  • ag_ana
    ag_ana
    1Password Alumni

    :+1: :)

  • felix_1p
    felix_1p
    1Password Alumni

    This feature has been added to the CLI as of v0.9. You can now use op add group <group> <vault> to add a group to a vault.

  • glyph
    glyph
    Community Member

    🎉🙏🏻🎊

    Thank you team 1password! This feature is MUCH appreciated!

  • ag_ana
    ag_ana
    1Password Alumni

    @glyph, on behalf of everyone, you are very welcome!

    If you have any other questions, please feel free to reach out anytime.

    Have a wonderful day :)

This discussion has been closed.