Skip to content

Infisical/infisical-dagger

Repository files navigation

Infisical Dagger

This module is part of the Daggerverse, a collection of reusable Dagger modules.

Description

The Infisical Dagger Module is an official integration that seamlessly connects your Dagger workflows with Infisical. Infisical is the open source secret management platform that teams use to centralize their secrets like API keys, database credentials, and configurations.

Features

  • Get secret by key
  • List secrets

Installation

dagger install github.com/Infisical/infisical-dagger@<version-number>

Usage

CLI

dagger call with-universal-auth --client-id=env:CLIENT_ID --client-secret=env:CLIENT_SECRET get-secret-by-name --project-id="<project-id>" --secret-name="<SECRET-NAME>" --environment-slug="<slug>" --secret-path="/"

Dagger Function

 dag.infisical()
            .with_universal_auth(client_id, client_secret)
            .get_secrets(
                project_id=project_id,
                environment_slug=environment_slug,
                secret_path="/",
            )

License

Specify the license for your module:

This project is licensed under the MIT License - see the LICENSE file for details.