Debian Codegraph @

/

debian golang-github-chrismellard-docker-credential-acr-env 0.7.0-2debian golang-github-chrismellard-docker-credential-acr-env-dev gomod github.com/chrismellard/docker-credential-acr-env shell shell-project 0.0.0 debiangoinimakemakefilemarkdownshellyaml 27 files · 159 symbols
View dependency graph

Depends on

README (full)

ACR Docker Credential Helper

The ACR docker credential helper is an alternative to the existing file store based ACR helper located here which relies on az command line and is not optimised for use in CI environments. Primary use case for this helper is for use with kaniko and other tools running in CI scenarios wishing to push to Azure Container Registry

How it works

The credential helper sources its configuration from well-known Azure environmental information. It attempts to authenticate firstly via client credentials grant if the following environment config is present

AZURE_CLIENT_ID=<clientID>
AZURE_CLIENT_SECRET=<clientSecret>
AZURE_TENANT_ID=<tenantId>

If the above are not set then authentication falls back to managed service identities and the MSI endpoint is attempted to be contacted which will work in various Azure contexts such as App Service and Azure Kubernetes Service where the MSI endpoint will authenticate the MSI context the service is running under.

dir .github/
dir cmd/
dir debian/
dir hack/
dir pkg/
file .gitignore
file .goreleaser.yml
file LICENSE
file Makefile
file README.md
file go.mod
file go.sum
file main.go