Skip to content

Add secret producer/receiver and docker credential helper#381

Draft
pantherman594 wants to merge 5 commits intotest-pre-post-scriptfrom
consume-secret
Draft

Add secret producer/receiver and docker credential helper#381
pantherman594 wants to merge 5 commits intotest-pre-post-scriptfrom
consume-secret

Conversation

@pantherman594
Copy link
Copy Markdown
Contributor

@pantherman594 pantherman594 commented Apr 23, 2026

See linked verily1 PR for ordering of when the scripts will be called.

  • docker-auth-secrets.sh registers docker-credential-workbench-secret to be used when pulling a package from one of the "dockerRepository" secrets. This must be called after git-clone-devcontainer since it needs to read the secret from the devcontainer directory
  • docker-credential-secrets.sh is the script behind docker-credential-workbench-secret (the docker-credential scripts are just a thin wrapper providing the resource path)
  • provide-secrets.sh fetches secrets configured in secrets.yml and passes them to the app. This is the "Secret Provider" in the design doc
  • secret-receiver receives the secret values and directs them to environment variables or file descriptors for the app to read
  • vscode-secrets is a sample vscode app that reads a secret named example-secret and stores it in environment variable EXAMPLE_SECRET

@pantherman594 pantherman594 force-pushed the consume-secret branch 6 times, most recently from 04fa6a5 to 82a8e91 Compare April 27, 2026 16:59
@pantherman594 pantherman594 changed the base branch from master to test-pre-post-script April 27, 2026 17:16
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.

1 participant