这是1个与密码相关的cli工具和帮助程序的集合

onepassword-tools的Python项目详细描述


1密码工具

This is a collection of 1Password related CLI tools and helpers.

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...

新数据库帐户

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]

新服务器帐户

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.

新的ssh密钥

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.

新网站帐户

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]
  --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.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
相当于加密流。NET在Java 安卓中的应用?   java Android:加载片段时启动动画   java文件从指定的绝对路径上载到服务器   java是否可以自定义Spring缓存抽象所使用的序列化?   当客户端输入为无效字符串时,java从JAXWS接收空的BigDecimal   将数据库从MySQL更改为SQLite后出现Java项目错误   java PrimeFaces在datatable中自定义行编辑器   java在数组中对字符串和双类类型进行排序   图像Java:如何在GridLayout中嵌套JPanel?   java searchByEmail方法不起作用   java运行时。exec(字符串)限制字符串   java通过异步运行lambda访问方法参数   java为什么这个条件语句不编译?   在javajar中添加和使用文件,就像它们在文件夹中一样   使用java查找带有正则表达式的子字符串   在awt所在的地方荡秋千。属性,以及如何在Java插件中提供它的本地化版本