+
Skip to content

Provides python interfaces for a number of 1password CLI options, and a few samples of how you can use them for actions not directly supported by 1Password.

License

Notifications You must be signed in to change notification settings

jackm43/onepassword_pyutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

Use at your own risk, and ensure you are testing in a safe environment and validate all changes before you run anything completely. This repository has been used for my own reasons, and is not well tested for external use.

1Password Vault Permissions Script

Provides a Python library for interacting with 1Password via the CLI. Has a number of actions that can be performed on vaults, groups, users, and items, and can be used to automate the process of granting and revoking permissions. Primarily built because of restrictions in 1Passwords GUI, and the 1password library was not well supported/updated/maintained at the time.

For example, a primary use case was to grant viewing permissions to all vaults in the Owners group, and then revoke them after an investigation was complete.

Prerequisites

  1. Python: Make sure you have Python 3 installed.
  2. 1Password CLI: Ensure you have the 1Password CLI installed and configured. You can download it from 1Password CLI.

Usage

To run the script, create a new venv, install requirements, and run python main.py If you're running it in a testing context, use the --testing flag to limit processing to a subset of 1Password data. Doesn't apply to option 3 though.

Running module by itself python3 -m lib.vaults

About

Provides python interfaces for a number of 1password CLI options, and a few samples of how you can use them for actions not directly supported by 1Password.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载