onepassword-tools


Nameonepassword-tools JSON
Version 1.6.0 PyPI version JSON
download
home_pagehttps://github.com/mickaelperrin/onepassword-tools
SummaryThis is a collection of 1Password related CLI tools and helpers
upload_time2024-01-12 13:19:37
maintainer
docs_urlNone
authorMickaël Perrin
requires_python>=3.7.0
licenseGPLv3
keywords onepassword 1password cli password secrets tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            
# 1Password Tools

> This is a collection of 1Password related CLI tools and helpers.
> Since version 1.0.0, this tool is made for op CLI version 2.0

```
Usage: op-tools [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbosity LVL  Either CRITICAL, ERROR, WARNING, INFO or DEBUG
  --help               Show this message and exit.

Commands:
  new-database-account  Create a new Database item in 1Password with the...
  new-server-account    Create a new Server item in 1Password with the
                        given...
  new-ssh-key           Generates a new SSH key and store it in 1Password.
  new-website-account   Create a new Login item in 1Password with the given...
  ssh-add               Loads a SSH key stored in 1Password by searching...

```

## new-database-account

```
Usage: op-tools new-database-account [OPTIONS]

  Create a new Database item in 1Password with the given credentials.

Options:
  --return-field TEXT        Field value to return
  --account TEXT             Account to use (shorthand)
  --vault TEXT               Vault uuid where to store the information
  --title TEXT               Name of the 1Password item
  --notes TEXT               Note
  --password-length INTEGER  Autogenerated password length, default 25
  --password TEXT            Password to use, default autogenerated
  --database TEXT            Database name  [required]
  --hostname TEXT            Host where the account is created  [required]
  --port TEXT                Database port
  --username TEXT            Account username  [required]

```

## new-server-account

```
Usage: op-tools new-server-account [OPTIONS]

  Create a new Server item in 1Password with the given credentials.

Options:
  --return-field TEXT        Field value to return
  --account TEXT             Account to use (shorthand)
  --vault TEXT               Vault uuid where to store the information
  --title TEXT               Name of the 1Password item
  --notes TEXT               Note
  --password-length INTEGER  Autogenerated password length, default 25
  --password TEXT            Password to use, default autogenerated
  --hostname TEXT            Host where the account is created  [required]
  --username TEXT            Account username  [required]
  --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:
  --return-field TEXT          Field value to return
  --account TEXT               Account to use (shorthand)
  --vault TEXT                 Vault uuid where to store the information
  --title TEXT                 Name of the 1Password item
  --notes TEXT                 Note
  --from-user TEXT             User who is responsible from initiating the
                               connection, default current user.
  --from-host TEXT             Host from where the SSH connection starts,
                               default current hostname.
  --to-user TEXT               Remote user, prompted if empty.  [required]
  --to-host TEXT               Remote server hostname, 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
  --help                       Show this message and exit.
```

## new-website-account 

```
Usage: op-tools new-website-account [OPTIONS]

  Create a new Login item in 1Password with the given credentials.

Options:
  --return-field TEXT        Field value to return
  --account TEXT             Account to use (shorthand)
  --vault TEXT               Vault uuid where to store the information
  --title TEXT               Name of the 1Password item
  --notes TEXT               Note
  --password-length INTEGER  Autogenerated password length, default 25
  --password TEXT            Password to use, default autogenerated
  --url TEXT                 URL of the website where the account is created
                             [required]
  --tld_variations TEXT      Create multiple URLs variations or url parameter
                             with the given tld. Provided tld are comma separated.
                             ex: tld_variations=docker,test.fr                             
  --username TEXT            Account username  [required]
  --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 [<Alias>][<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.

```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mickaelperrin/onepassword-tools",
    "name": "onepassword-tools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": "",
    "keywords": "onepassword 1password cli password secrets tools",
    "author": "Micka\u00ebl Perrin",
    "author_email": "dev@mickaelperrin.fr",
    "download_url": "",
    "platform": null,
    "description": "\n# 1Password Tools\n\n> This is a collection of 1Password related CLI tools and helpers.\n> Since version 1.0.0, this tool is made for op CLI version 2.0\n\n```\nUsage: op-tools [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  -v, --verbosity LVL  Either CRITICAL, ERROR, WARNING, INFO or DEBUG\n  --help               Show this message and exit.\n\nCommands:\n  new-database-account  Create a new Database item in 1Password with the...\n  new-server-account    Create a new Server item in 1Password with the\n                        given...\n  new-ssh-key           Generates a new SSH key and store it in 1Password.\n  new-website-account   Create a new Login item in 1Password with the given...\n  ssh-add               Loads a SSH key stored in 1Password by searching...\n\n```\n\n## new-database-account\n\n```\nUsage: op-tools new-database-account [OPTIONS]\n\n  Create a new Database item in 1Password with the given credentials.\n\nOptions:\n  --return-field TEXT        Field value to return\n  --account TEXT             Account to use (shorthand)\n  --vault TEXT               Vault uuid where to store the information\n  --title TEXT               Name of the 1Password item\n  --notes TEXT               Note\n  --password-length INTEGER  Autogenerated password length, default 25\n  --password TEXT            Password to use, default autogenerated\n  --database TEXT            Database name  [required]\n  --hostname TEXT            Host where the account is created  [required]\n  --port TEXT                Database port\n  --username TEXT            Account username  [required]\n\n```\n\n## new-server-account\n\n```\nUsage: op-tools new-server-account [OPTIONS]\n\n  Create a new Server item in 1Password with the given credentials.\n\nOptions:\n  --return-field TEXT        Field value to return\n  --account TEXT             Account to use (shorthand)\n  --vault TEXT               Vault uuid where to store the information\n  --title TEXT               Name of the 1Password item\n  --notes TEXT               Note\n  --password-length INTEGER  Autogenerated password length, default 25\n  --password TEXT            Password to use, default autogenerated\n  --hostname TEXT            Host where the account is created  [required]\n  --username TEXT            Account username  [required]\n  --help                     Show this message and exit.\n```\n\n## new-ssh-key\n\n```\nUsage: op-tools new-ssh-key [OPTIONS]\n\n  Generates a new SSH key and store it in 1Password. Additional information\n  are stored also to generate SSH config file when imported.\n\nOptions:\n  --return-field TEXT          Field value to return\n  --account TEXT               Account to use (shorthand)\n  --vault TEXT                 Vault uuid where to store the information\n  --title TEXT                 Name of the 1Password item\n  --notes TEXT                 Note\n  --from-user TEXT             User who is responsible from initiating the\n                               connection, default current user.\n  --from-host TEXT             Host from where the SSH connection starts,\n                               default current hostname.\n  --to-user TEXT               Remote user, prompted if empty.  [required]\n  --to-host TEXT               Remote server hostname, prompted if empty.\n                               [required]\n  --to-host-abbreviated TEXT   Alias of the remote server hostname used to\n                               initialize connection.\n  --no-passphrase TEXT         Create ssh key without passphrase.\n  --passphrase TEXT            Use this passphrase instead of an autogenerated\n                               one.\n  --passphrase-length INTEGER  Length of the autogenerated passphrase.\n  --port INTEGER               Remote port\n  --help                       Show this message and exit.\n```\n\n## new-website-account \n\n```\nUsage: op-tools new-website-account [OPTIONS]\n\n  Create a new Login item in 1Password with the given credentials.\n\nOptions:\n  --return-field TEXT        Field value to return\n  --account TEXT             Account to use (shorthand)\n  --vault TEXT               Vault uuid where to store the information\n  --title TEXT               Name of the 1Password item\n  --notes TEXT               Note\n  --password-length INTEGER  Autogenerated password length, default 25\n  --password TEXT            Password to use, default autogenerated\n  --url TEXT                 URL of the website where the account is created\n                             [required]\n  --tld_variations TEXT      Create multiple URLs variations or url parameter\n                             with the given tld. Provided tld are comma separated.\n                             ex: tld_variations=docker,test.fr                             \n  --username TEXT            Account username  [required]\n  --help                     Show this message and exit.\n```\n\n## ssh-add\n\n```\nUsage: op-tools ssh-add [OPTIONS] [SEARCH]\n\n  Loads a SSH key stored in 1Password by searching [SEARCH] in uuid or in\n  item title, and creates a ssh configuration file of the following format:\n\n  Match originalhost [<Alias>][<Hostname> user <Remote user>]\n    IdentitiesOnly yes\n    IdentityFile <path to key file>\n    Hostname <Hostname>\n    User <Remote user>\n    Port <Port>\n\nOptions:\n  -D                    cleanup ssh agent and remove all 1Password managed\n                        keys and configuration\n  --no-ssh-config TEXT  Do not create ssh config file\n  --help                Show this message and exit.\n\n```\n\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "This is a collection of 1Password related CLI tools and helpers",
    "version": "1.6.0",
    "project_urls": {
        "Homepage": "https://github.com/mickaelperrin/onepassword-tools"
    },
    "split_keywords": [
        "onepassword",
        "1password",
        "cli",
        "password",
        "secrets",
        "tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67ee6f94356825adfd73873aa7c7596d68dfc4754d9cec43a2f5991018b1985c",
                "md5": "adb326308751450825178497d8c8cfa4",
                "sha256": "847a7510e33f89e02966cfe35e11dc5fe04559db2df9636d33371f74e8e9503e"
            },
            "downloads": -1,
            "filename": "onepassword_tools-1.6.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "adb326308751450825178497d8c8cfa4",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7.0",
            "size": 35402,
            "upload_time": "2024-01-12T13:19:37",
            "upload_time_iso_8601": "2024-01-12T13:19:37.741961Z",
            "url": "https://files.pythonhosted.org/packages/67/ee/6f94356825adfd73873aa7c7596d68dfc4754d9cec43a2f5991018b1985c/onepassword_tools-1.6.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-12 13:19:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mickaelperrin",
    "github_project": "onepassword-tools",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "requirements": [],
    "lcname": "onepassword-tools"
}
        
Elapsed time: 0.17076s