infisical / infisical.vault / 0.0.8 / lookup / read_secrets Look up secrets stored in Infisical Authors: Infisical Inc.infisical.vault.read_secrets (0.0.8) — lookup
Install with ansible-galaxy collection install infisical.vault:==0.0.8
collections: - name: infisical.vault version: 0.0.8
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.
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