Skip to content
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

Accessing secure storages #229

Open
RadiatorSpring opened this issue Sep 16, 2021 · 3 comments
Open

Accessing secure storages #229

RadiatorSpring opened this issue Sep 16, 2021 · 3 comments
Projects

Comments

@RadiatorSpring
Copy link

We are building a buildpack and are using packit. The way documented for downloading dependencies from buildpack.toml is using the provided dependency manager.
dependencyManager := postal.NewService(cargo.NewTransport())
packit.Build(runtime.Build(dependencyManager))
It works fine as long as dependencies are from public repositories like maven, but if we want to add a URI to a private storage that in our case stores tar files, we have no way of configuring authentication for it.
It would be amazing if we could have a way to add basic auth to our requests when using this packit dependency manager.

@fg-j
Copy link

fg-j commented Sep 16, 2021

In order to authenticate with some sort of private storage, users will need to provide credentials via a binding. For that reason, I'm blocking this on #107 for now.

@fg-j fg-j added the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Sep 16, 2021
@menehune23 menehune23 removed the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Sep 27, 2021
@fg-j fg-j added this to Inbox in Tooling Dec 21, 2021
@ForestEckhardt
Copy link
Contributor

Hey there @RadiatorSpring, just wanted to get a quick follow up to see what format of credentials would you be looking to be able to provide?

@RadiatorSpring
Copy link
Author

Something as simple as Username and Password for basic auth would be enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Tooling
Inbox
Development

No branches or pull requests

4 participants