Changelog background image

Never miss a release, subscribe to our product updates.

We protect your privacy.

Thank you!

You will now be informed about our future product updates.

Star Passbolt on Github

It’s the best way to receive release notes instantly and show that you support Passbolt.

Star Passbolt repo
Github illustration
All articles

Managing Secrets in Ansible using Passbolt

7 min. read

Jean-Christophe Vassort

Jean-Christophe Vassort

7 April, 2022

$ ansible-vault encrypt
New Vault password: ****
Confirm New Vault password: ****
Reading plaintext input from stdin
password
Encryption successful
$ANSIBLE_VAULT;1.1;AES256
353030646433386461373032366165…1646330333236663632656338373231636631
$ ansible-vault decrypt
Vault password: ****
Reading ciphertext input from stdin
$ANSIBLE_VAULT;1.1;AES256
353030646433386461373032366165…1646330333236663632656338373231636631
Decryption successful
password
- name: Create RDS instance with aws_secret lookup for password param  rds:
    command: create
    instance_name: app-db
    db_engine: MySQL
    size: 10
    instance_type: db.m1.small
    username: dbadmin
    password: "{{ lookup('amazon.aws.aws_secret', 'DbSecret') }}"
$ ansible-galaxy collection install anatomicjc.passbolt
$ python -m pip install py-passbolt
environment:
  PASSBOLT_BASE_URL: "https://passbolt.domain"
  PASSBOLT_PRIVATE_KEY: "{{ private_key_vault }}"
  PASSBOLT_PASSPHRASE: "{{ passphrase_vault }}"
environment:
  PASSBOLT_BASE_URL: "https://passbolt.domain"
  PASSBOLT_GPG_LIBRARY: "gnupg"
  PASSBOLT_FINGERPRINT: "1321159AE7BEE9EF9C4BBC7ECBAD2FB0C22FE70C"
lookup(passbolt, 'OVH')
lookup(passbolt, 'OVH', username='[email protected]')
lookup(passbolt, 'OVH', username='[email protected]', uri='https://api.ovh.com')
lookup(passbolt, 'a294b8d6–5dae-4db6–9e49-f790781cec30', per_uuid='true')
vars:
  aws:
    access_key: "{{ lookup(passbolt, 'AWS').password }}"
    secret_key: "{{ lookup(passbolt, 'AWS').description }}"
- name: Generate AWS credentials profile
  ansible.builtin.copy:
    dest: ${HOME}/.aws/credentials
    owner: "{{ lookup('env', 'USER') }}"
    mode: "0600"
    content: |
      [default]
      aws_access_key_id={{ aws.access_key }}
      aws_secret_access_key={{ aws.secret_key }}
git clone [email protected]:passbolt/lab-passbolt-ansible-poc.git
cd lab-passbolt-ansible-poc
docker-compose up -d
docker-compose run ansible
ansible-playbook playbooks/example-playbook.yml

Continue reading

How to configure Passbolt with Postgresql (experimental)

7 min. read

How to configure Passbolt with Postgresql (experimental)

Since the latest v3.5.0 passbolt version, it is possible to use PostgreSQL as a database backend (experimental) for passbolt. Let’s see how…

Jean-Christophe Vassort

Jean-Christophe Vassort

28 February, 2022

5 browser extensions to protect your privacy online.

3 min. read

5 browser extensions to protect your privacy online.

We could also have devised a list of all the things we hate about click bait articles, but the number 3 would have been too shocking for…

Vivien Muller

Vivien Muller

12 April, 2022

Flag of European UnionMade in Europe. Privacy by default.