Registry / cloud / awslabs-amazon-ecr-credential-helper-ecr-login

awslabs-amazon-ecr-credential-helper-ecr-login

JSON →
library0.12.0gogounverified

Package ecr-login provides a Docker credential helper for Amazon ECR.

go get github.com/awslabs/amazon-ecr-credential-helper/ecr-login
INSTALL
IMPORT
SIG · AWSLABS-AMAZON-ECR
A
awslabs-amazon-ecr-credential-helper-ecr-login
cloudgov0.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ecrlogin
github.com/awslabs/amazon-ecr-credential-helper/ecr-login

Retrieves ECR credentials for Docker authentication.

package main import ( "fmt" "github.com/awslabs/amazon-ecr-credential-helper/ecr-login/api" ) func main() { client := api.NewClient() creds, err := client.GetCredentials("123456789012.dkr.ecr.us-east-1.amazonaws.com") if err != nil { panic(err) } fmt.Println(creds.Username, creds.Password) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
awslabs-amazon-ecr-credential-helper-ecr-login — go get awslabs-amazon-ecr-credential-helper-ecr-login · libregistry