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

Secret support for run-user-commands& up commands #493

Merged
merged 4 commits into from
Apr 26, 2023

Conversation

eljog
Copy link
Member

@eljog eljog commented Apr 15, 2023

Secret support for run-user-commands& up commands.
A json file containing secrets can be passed in via a command line argument --secrets-file.
Secrets will be applied similar to remoteEnv

File format:

{
    "SECRET_NAME": "value"
}

Special handling for the secrets such as masking them from logs is not in scope for this PR.

Details of the spec is here (In Review)=> devcontainers/spec#224

@eljog eljog requested a review from a team as a code owner April 15, 2023 01:51
Copy link
Contributor

@chrmarti chrmarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, only one question. :)

src/spec-common/injectHeadless.ts Outdated Show resolved Hide resolved
Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⚡

@alexdima alexdima dismissed chrmarti’s stale review April 25, 2023 18:13

The comment was addressed

@eljog eljog merged commit 86604a8 into main Apr 26, 2023
@eljog eljog deleted the eljog/secrets-support-1 branch April 26, 2023 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants