Access and manage your 1Password items in your Ansible Automation Platform through your self-hosted 1Password Connect server.
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.
ansible
: >=7.xansible-core
: >=2.15python
: >=3.91Password Connect
: >= 1.0.0
- You can install the Ansible collection from Ansible Galaxy:
ansible-galaxy collection install onepassword.connect
- 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
Refer to the Usage Guide for documentation for example usage.
- File an issue for bugs and feature requests.
- Join the Developer Slack workspace.
- Subscribe to the Developer Newsletter.
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.