Skip to content

feat(uat): create node keys with consensus keys init instead of sample secrets - #1283

Draft
leninmehedy wants to merge 1 commit into
01169-consensus-capsule-neutral-keysfrom
01169-uat-keys-task
Draft

leninmehedy wants to merge 1 commit into
01169-consensus-capsule-neutral-keysfrom
01169-uat-keys-task

Conversation

@leninmehedy

Copy link
Copy Markdown
Member

Summary

The daemon UAT (docs/dev/daemon) used the fixed test/sample-secrets for node keys. This switches it to keys made with consensus keys init, so the UAT exercises the real key flow.

  • New keys task: runs consensus keys init, then keys verify --from-cluster, then lists the node's labelled secrets. Keys go to KEYS_DIR (default /tmp/cn-keys/node<N>); the admin private key stays there.
  • uat:secrets gets SAMPLE_KEYS (default true, so other callers are unchanged). The daemon secrets task sets it to false and only creates pull secrets. SAMPLE_KEYS=true still applies the sample secrets.
  • consensus task no longer passes --signing-secret / --grpc-tls-secret. The old fixed names don't exist any more; install finds the labelled secrets itself.
  • README and runbook: added keys (T3b) and fixed the network / consensus task-name drift.

Stacked on #1281.

Test plan

  • task -d docs/dev/daemon --list parses both Taskfiles
  • In the VM: rebuild → cluster → secrets → keys → operator → consensus; node pod starts with the generated keys

Part of #1164.

🤖 Generated with Claude Code

@leninmehedy
leninmehedy requested a review from a team as a code owner October 13, 2026 12:58
@swirlds-automation

swirlds-automation commented Oct 13, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@leninmehedy
leninmehedy added this pull request to stack #1201 October 13, 2026 12:59
…ple secrets

Add a `keys` task to the daemon UAT harness that runs `consensus keys init`
and `keys verify --from-cluster`. `uat:secrets` gets SAMPLE_KEYS (default
true); the daemon `secrets` task sets it to false. `consensus` no longer
passes fixed secret names, so install resolves the labelled secrets.

Signed-off-by: Lenin Mehedy <lenin.mehedy@hashgraph.com>
@leninmehedy
leninmehedy marked this pull request as draft October 20, 2026 06:24
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.

2 participants