1Password / ansible-onepasswordconnect-collection

The 1Password Connect collection contains modules that interact with your 1Password Connect deployment. The modules communicate with the 1Password Connect API to support Vault Item create/read/update/delete operations.
https://developer.1password.com/docs/connect/
Other
113 stars 16 forks source link
1password ansible secret-management secrets-management

1Password Connect Ansible Collection

Access and manage your 1Password items in your Ansible Automation Platform through your self-hosted 1Password Connect server.

Get started

The 1Password Connect collection contains modules that interact with your 1Password Connect deployment. The modules communicate with the 1Password Connect API to support Vault Item create/read/update/delete operations.

Requirements

✨ Get started

πŸš€ Quickstart

  1. You can install the Ansible collection from Ansible Galaxy:
ansible-galaxy collection install onepassword.connect
  1. Example of getting information about an Item, including fields and metadata:
--- 
  hosts: localhost
  vars:
    connect_token: "valid.jwt.here"
  environment:
    OP_CONNECT_HOST: http://localhost:8001
  collections:
    - onepassword.connect
  tasks:
    - name: Find the item with the label "Staging Database" in the vault "Staging Env"
      item_info:
        token: "{{ connect_token }}"
        item: Staging Database
        vault: Staging Env
      no_log: true
      register: op_item

πŸ“„ Usage

Refer to the Usage Guide for documentation for example usage.

πŸ’™ Community & Support

πŸ” Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests via BugCrowd.

For information about security practices, please visit the 1Password Bug Bounty Program.