-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per-resource authentication support for OCI registries #2911
Comments
To look into: per-resource credentials in addition to ambient creds. Ambient creds do work. |
@blampe what does the Docker provider do about OCI registry authentication, and can we do the same here? My preference would be to use ambient credentials only. |
I thought we confirmed ambient creds already work but definitely double check that. If they do work, we might want to add something like "Make sure to run Ambient creds are tenable, but they can be clunky because you now have some pre-conditions to setup in CI and local dev before your program is runnable. That's especially annoying if you're using short-lived credentials with something like ECR, although I'm not sure how common that is with Helm. I interpret this issue and #1914 as asking for a way to authenticate as part of the Pulumi program directly. A way to eliminate this step, essentially:
Both of the Docker providers expose credentials on their resources as well as the provider. During an update, it layers credentials from the host, the provider, and the image in that order. The Docker Build provider has two modes, one where it uses an in-memory config file and another where it shells out to the Docker CLI. When running in exec mode we write the merged credentials to a temporary directory and point the CLI process at that by setting Implementation-wise this is all internal and not easily shared unless the Helm library consumes the |
is this any ETA to implement OCI login?
i have long running stack creation, with a chain of helm release installation. |
#1914 is a highly upvoted issue for supporting authentication for OCI registries (to enable the use of private registries).
Release/v3
andChart/v4
automatically use the ambient credentials (fromdocker login
orhelm registry login
). This ticket is about supporting adhoc credentials within the Pulumi program.The text was updated successfully, but these errors were encountered: