infisical.vault.read_secrets (0.0.8) — lookup

Look up secrets stored in Infisical

Authors: Infisical Inc.

Install collection

Install with ansible-galaxy collection install infisical.vault:==0.0.8


Add to requirements.yml

  collections:
    - name: infisical.vault
      version: 0.0.8

Description

Retrieve secrets from Infisical, granted the caller has the right permissions to access the secret.

Secrets can be located either by their name for individual secret loopups or by environment/folder path to return all secrets within the given scope.

Inputs

    
url:
    default: https://app.infisical.com
    description: Point to your self hosted instance of Infisical
    env:
    - name: INFISICAL_URL
    required: false
    type: string
    version_added: 1.0.0
    version_added_collection: infisical.vault

path:
    description: 'The folder path where the requested secret resides. For example: /services/backend'
    required: true
    type: string
    version_added: 1.0.0
    version_added_collection: infisical.vault

token:
    description: The Infisical token used to authenticate
    env:
    - name: INFISICAL_TOKEN
    required: true
    type: string
    version_added: 1.0.0
    version_added_collection: infisical.vault

env_slug:
    description: Used to select from which environment (environment slug) secrets should
      be fetched from. Environment slug is the short name of a given environment
    required: true
    type: string
    version_added: 1.0.0
    version_added_collection: infisical.vault

secret_name:
    description: The name of the secret that should be fetched. The name should be exactly
      as it appears in Infisical
    required: false
    type: string
    version_added: 1.0.0
    version_added_collection: infisical.vault