Skip to content

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

Merged
Eljo George (eljog) merged 4 commits into
mainfrom
eljog/secrets-support-1
Apr 26, 2023
Merged

Eljo George (eljog) merged 4 commits into
mainfrom
eljog/secrets-support-1

Conversation

@eljog

Copy link
Copy Markdown
Member

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
Eljo George (eljog) requested a review from a team as a code owner April 15, 2023 01:51

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Contributor

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. :)

Comment thread src/spec-common/injectHeadless.ts Resolved
Comment thread src/spec-node/devContainersSpecCLI.ts Resolved
Comment thread src/spec-node/devContainersSpecCLI.ts Resolved
Comment thread src/spec-common/injectHeadless.ts Resolved
Comment thread src/spec-common/injectHeadless.ts Resolved

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM ⚡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants