Home
Softono
ansible-onepasswordconnect-collection

ansible-onepasswordconnect-collection

Open source Python
137
Stars
17
Forks
17
Issues
14
Watchers
1 week
Last Commit

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

Platforms

Web Self-hosted

Languages

Python

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.

This project is licensed under GPL-3.0. Use of the 1Password APIs and services accessed through these tools is governed by the 1Password API Terms of Service.

Requirements

  • ansible (community package): >=9.x (includes ansible-core 2.16)
  • ansible-core: >=2.16.0
  • python: >=3.10
  • 1Password Connect: >= 1.0.0

✨ 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 usage examples.

πŸ“ Changelog

Release notes for each version are documented in the Changelog.

πŸ’™ Community & Support

πŸ” Security

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

Please file requests by sending an email to [email protected].

πŸ“œ License

This collection is licensed under GPL-3.0-or-later.