Giter Site home page Giter Site logo

jicowan / cognito Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 4.84 MB

Home Page: https://jicowan.medium.com/pulling-docker-images-from-ecr-private-registries-with-a-cognito-user-pool-identity-95f4c233fc4a

Go 100.00%
ecr-registry cognito temporary-credentials

cognito's Introduction

Retrieving temporary AWS credentials using Cognito

Introduction

This binary authenticates a user against Cognito to get a set of temporary credentials. Before using, update the constants in main.go with the appropriate values and recompile the binary.

TODO

Create a makefile that creates the binary automatically from values specified from the command line. In the interim, you can run go build -o cognito.

cognito's People

Contributors

jicowan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

gabrielnodebee

cognito's Issues

License of this code

Hi Jeremy
I find this code very useful!
I would like to use it at my day to day work but I need to modify it.
Could you clarify under what license you are sharing it, I want to avoid any copyright violation by modifying and sharing it.
Thanks
Artur

Not Implemented error passing creds to Docker login

Hi Jeremy, thank you for taking the time to work with us the other day. Here is the error message that was mentioned when passing AWS ECR credentials to Docker desktop. Confirmed that using the get-login-password does return valid credentials when used on its own, so most likely due to something configured in Docker.

aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.us-east-1.amazonaws.com

Error saving credentials: error storing credentials - err: exit status 1, out: not implemented

Currently using Docker Desktop 3.5.2 (66501) and AWS CLI v2.2.46
This happens on both Windows 10 and MacOS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.