This is a collection of 1Password related CLI tools and helpers
Project description
1Password Tools
This is a collection of 1Password related CLI tools and helpers.
new-server-account
Usage: op-tools new-server-account [OPTIONS]
Create a new Server item in 1Password with the given credentials.
Options:
--host TEXT Host where the account is created [required]
--username TEXT Account username [required]
--password TEXT Password to use, default autogenerated
--password-length INTEGER Autogenerated password length, default 25
--vault TEXT Vault uuid where to store the information
--help Show this message and exit.
new ssh-key
Usage: op-tools new-ssh-key [OPTIONS]
Generates a new SSH key and store it in 1Password. Additional information
are stored also to generate SSH config file when imported.
Options:
--from-host TEXT Host from where the SSH connection starts,
default current hostname.
--from-user TEXT User who is responsible from initiating the
connection, default current user.
--to-host TEXT Remote server hostname, prompted if empty.
[required]
--to-user TEXT Remote user, prompted if empty. [required]
--to-host-abbreviated TEXT Alias of the remote server hostname used to
initialize connection.
--no-passphrase TEXT Create ssh key without passphrase.
--passphrase TEXT Use this passphrase instead of an autogenerated
one.
--passphrase-length INTEGER Length of the autogenerated passphrase.
--port INTEGER Remote port
--vault TEXT 1Password vault uuid where to store the SSH key
--help Show this message and exit.
ssh-add
Usage: op-tools ssh-add [OPTIONS] [SEARCH]
Loads a SSH key stored in 1Password by searching [SEARCH] in uuid or in
item title, and creates a ssh configuration file of the following format:
Match originalhost <Hostname> user <Remote user>
IdentitiesOnly yes
IdentityFile <path to key file>
Hostname <Hostname>
User <Remote user>
Port <Port>
Options:
-D cleanup ssh agent and remove all 1Password managed
keys and configuration
--no-ssh-config TEXT Do not create ssh config file
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for onepassword tools-0.2.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9712d5eaa650cf1aa53f5cc046bfdfd3f764e18daa540d848c9bd8790b962f1 |
|
MD5 | c9d70a0efafce6c871911bcd3fbf4606 |
|
BLAKE2b-256 | 4b88cfe2a111701476afe9f028286c49315b76220e0c5290ab2cb9b2376d5485 |
Close
Hashes for onepassword_tools-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81b3b83a760585c2ce756e8a75ecdf7696feb7c229c4cc81666fc2e97fe6729d |
|
MD5 | 4d36ed7c9fc39720660bea9fa30b910e |
|
BLAKE2b-256 | 61c9fcc19128f76856c51247190e25a59f31d040fcbfb150eaac41f3ae026fe0 |