devcontainers / devcontainers/cli

Download tar ball using identification token

Offen
#531 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request
Vorherrschende Sprache
TypeScript
Sterne
3k
Forks
457
Ø Merge
13 Std. 17 Min.
Gemergte PRs (30 T.)
6

Beschreibung

Hi,

I am using the direct tarball method to download my feature. However my tgz is stored in a secured server needing an authentication token to donwload the file. How do I specify this token in the devcontainer.json?

By looking into the code, the function `getRequestHeaders` seems to be in charge of building headers used to download the URI but there is nothing to add externally specified headers (only stuff to work with GH). Would it be possible to add the necessary to specify other headers?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.