It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
automationgfg
4 months agoNew Contributor
Service Account can manage the Vault for user permission
We are having 500+ Vaults and it's hard to manage the Users manually to add or remove from Vaults on demand if they change the Projects, Do we have a way programatically to update any user's permissi...
- 4 months ago
Hi automationgfg ,
Thanks for reaching out. The best way to get this done right now is with a combination of the 1Password CLI and a script (likely Bash/Python) to update the vaults. Here's an article walking you through provisioning for users.
Example
op vault user grant --user wendy.appleseed@agilebits.com --vault Prod --permissions allow_editing,allow_managing
To learn more
https://developer.1password.com/docs/cli/grant-revoke-vault-permissions
Additionally, we have the SCIM bridge that provides a more automated approach, depending on your setup.
https://support.1password.com/scim/
Thanks,
Phil
1P_Phil
Moderator
4 months agoHi automationgfg ,
Thanks for reaching out. The best way to get this done right now is with a combination of the 1Password CLI and a script (likely Bash/Python) to update the vaults. Here's an article walking you through provisioning for users.
Example
op vault user grant --user wendy.appleseed@agilebits.com --vault Prod --permissions allow_editing,allow_managing
To learn more
https://developer.1password.com/docs/cli/grant-revoke-vault-permissions
Additionally, we have the SCIM bridge that provides a more automated approach, depending on your setup.
https://support.1password.com/scim/
Thanks,
Phil
- automationgfg4 months agoNew Contributor
Hi Phil,
Thanks for replying.
We are not able to grant permissions using service accout and getting the below error
op vault user grant --user andr{REDACTED}@graphitefinancial.com --vault hobtl2z3plh{REDACTED} --permissions view_items,create_items,allow_viewing
[ERROR] 2025/06/28 00:10:21 (403) Forbidden: You aren't authorized to access this resource.
Thanks,
Karan