Skip to content

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

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

Secret support for run-user-commands& up commands#493
eljog merged 4 commits into
mainfrom
eljog/secrets-support-1

Conversation

@eljog

@eljog eljog commented Apr 15, 2023

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

@chrmarti 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 Outdated
Comment thread src/spec-node/devContainersSpecCLI.ts Outdated
Comment thread src/spec-node/devContainersSpecCLI.ts Outdated
Comment thread src/spec-common/injectHeadless.ts
Comment thread src/spec-common/injectHeadless.ts

@samruddhikhandale samruddhikhandale left a comment

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 ⚡

@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