The official Gruntwork credential helper for registry.gruntwork.io, the Gruntwork OCI registry.
OpenTofu and Terragrunt use it to authenticate when they pull modules, units and stacks from the
registry. It implements the
Docker credential helper protocol.
With mise, add it to your mise.toml:
[tool_alias]
docker-credential-gruntwork = "github:gruntwork-io/docker-credential-gruntwork"
[tools]
docker-credential-gruntwork = "0.1.0"Releases include binaries for Linux (x86_64, arm64), macOS (Intel, Apple silicon) and Windows
(x86_64). To install one by hand, download it from
Releases, rename it to
docker-credential-gruntwork (docker-credential-gruntwork.exe on Windows), and put it on your
PATH. On macOS, clear a browser download's quarantine with
xattr -d com.apple.quarantine docker-credential-gruntwork. SECURITY.md explains
how to verify it.
Add this to your OpenTofu CLI configuration: ~/.tofurc on Linux and macOS, or
%APPDATA%\tofu.rc on Windows.
oci_credentials "registry.gruntwork.io" {
docker_credentials_helper = "gruntwork"
}OpenTofu and Terragrunt both read it, and run docker-credential-gruntwork from your PATH
whenever they pull from registry.gruntwork.io.
On your machine, sign in to the Gruntwork Developer Portal with Terragrunt. As of Terragrunt 1.3,
terragrunt login needs --experiment tg-login:
terragrunt --experiment tg-login loginWe expect a later Terragrunt release to drop the flag.
In CI, the helper works in Gruntwork Pipelines on GitHub and GitLab.
See ARCHITECTURE.md.
See CONTRIBUTING.md.