ansible.builtin.conjur_variable (v2.9.27) — lookup

Fetch credentials from CyberArk Conjur.

| "added in version" 2.5 of ansible.builtin"

Authors: unknown

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Retrieves credentials from Conjur using the controlling host's Conjur identity. Conjur info: U(https://www.conjur.org/).


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - debug:
      msg: "{{ lookup('conjur_variable', '/path/to/secret') }}"

Inputs

    
_term:
    description: Variable path
    required: true

config_file:
    default: /etc/conjur.conf
    description: Path to the Conjur configuration file. The configuration file is a YAML
      file.
    env:
    - name: CONJUR_CONFIG_FILE
    ini:
    - key: config_file_path
      section: conjur,
    required: false
    type: path

identity_file:
    default: /etc/conjur.identity
    description: Path to the Conjur identity file. The identity file follows the netrc
      file format convention.
    env:
    - name: CONJUR_IDENTITY_FILE
    ini:
    - key: identity_file_path
      section: conjur,
    required: false
    type: path

Outputs

_raw:
  description:
  - Value stored in Conjur.