ci: add KMS fetch-and-decrypt verification workflow#11844
Closed
qwang1113 wants to merge 1 commit into
Closed
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
qwang1113
force-pushed
the
feat/kms-fetch-verify
branch
from
June 1, 2026 02:08
cdc943c to
46b72a3
Compare
Manual workflow_dispatch that exercises fetch-kms-secrets end-to-end (OIDC -> STS -> KMS -> hybrid decrypt) and prints masked values + lengths to confirm fetch/decrypt works downstream. uses: points at the fork for verification; re-point to OneKeyHQ/actions before the upstream PR.
qwang1113
force-pushed
the
feat/kms-fetch-verify
branch
from
June 1, 2026 02:18
46b72a3 to
3d34d5c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
.github/workflows/kms-fetch-verify.yml, aworkflow_dispatchworkflow that exercises thefetch-kms-secretsaction end-to-end (GitHub OIDC → Volcengine STS → KMSGetSecretValue→ hybrid AES-256-GCM + RSA-OAEP-SHA256 decrypt →$GITHUB_ENV) and prints only non-sensitive signals — fetched key names + masked values + lengths.secret-namesis a required run-time input (passed when you dispatch the workflow), not a stored variable.Before this can merge
uses:currently points at the verification forkqwang1113/actions/fetch-kms-secrets@feat/fetch-kms-secrets. Re-point toOneKeyHQ/actions/fetch-kms-secrets@<pinned-SHA>once feat: add fetch-kms-secrets composite action actions#108 merges.VOLC_ACCOUNT_ID/VOLC_ROLE_TRN/VOLC_KMS_REGION, SecretKMS_DECRYPT_PRIVATE_KEY, and a Volcengine trust policy allowing this repo'soidc:sub.Verification
Verified on a fork: a real run fetched + decrypted a KMS secret in
cn-beijingand printedCODACY_PROJECT_TOKEN = *** (length=7).