[DevOps] render.yaml still declares SOROBAN_SECRET_KEY and ADMIN_SECRET, both dead in current code
Labels: devops, infra, third-wave-audit File/location: render.yaml:44-55
Description:
render.yaml's backend service envVars list two secrets that a deploy operator would be told to provision: SOROBAN_SECRET_KEY ('Stellar secret key for signing on-chain cancel actions') and ADMIN_SECRET ('Bearer token for admin metrics/actions'). Neither is read anywhere in backend/src (grep for both across backend/src, backend/.env.example, and docs returns zero code hits — only the render.yaml declarations themselves). Cancel actually signs with KEEPER_SECRET_KEY (see cancel.ts), and admin auth has moved to ADMIN_PUBLIC_KEY-based auth (also already declared in render.yaml). These two entries are leftovers from the code migrations tracked by already-closed issues #545 (secret naming) and #647/#542 (admin auth migration) that were never cleaned up in render.yaml, so the deploy manifest still asks operators to generate and store two secrets that do nothing.
Acceptance Criteria:
- [ ] Remove the SOROBAN_SECRET_KEY and ADMIN_SECRET entries from render.yaml's envVars (or replace with a code change if they are in fact intended to be wired up — but grep confirms no current backend code reads either).
- [ ] Re-grep backend/src, backend/.env.example, and render.yaml after the change to confirm no remaining secret is declared in the deploy manifest without a corresponding
process.env.<NAME>read in code.
Notes: This is a render.yaml-specific cleanup gap, not a re-report of #545 or #647/#542 (both closed and about the backend code side of those migrations) — the finding here is that the deploy manifest itself was never updated to match, which is a distinct, currently-verifiable defect in render.yaml.
I reviewed render.yaml:44-55 against the backend controllers. SOROBAN_SECRET_KEY and ADMIN_SECRET are declared as required envVars but neither is read anywhere in backend/src, cancel.ts signs with KEEPER_SECRET_KEY and admin auth now runs on ADMIN_PUBLIC_KEY, both leftovers from the #545 and #647/#542 migrations that never got reflected in render.yaml. My fix removes both dead entries from render.yaml's envVars, then re-greps backend/src, backend/.env.example, and render.yaml to confirm no remaining secret declaration lacks a corresponding process.env.
Hello maintainers,
I am interested in taking up [DevOps] render.yaml still declares SOROBAN_SECRET_KEY and ADMIN_SECRET, both dead in current code.
Proposed steps:
- Audit storage layout and state invariants ensuring strict auth guards.
- Implement deterministic state transitions with safe checked arithmetic.
- Add hermetic unit and regression tests covering authorized, unauthorized, and boundary edge cases.
- Profile instruction and CPU/gas limits under Soroban host environment.
Let me know if this aligns with the repository guidelines and assign when convenient.
@Teejay2696 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi maintainer, I can fix this kindly assign
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Teejay2696 to this issue.
@CollinsKRO has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi Maintainer, I can fix this pls assign. ETA 5hrs
ℹ️ Repo Maintainers: To accept this application, review their application or assign @CollinsKRO to this issue.
@harmondconsultant-png has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
hy, i can work on it pleas assign
ℹ️ Repo Maintainers: To accept this application, review their application or assign @harmondconsultant-png to this issue.
@Nuruddeen61 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I love to work on this issue please assign me 🙏🙏🙏
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Nuruddeen61 to this issue.
@Wittig18 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
hey maintainer, i would love to work on this
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Wittig18 to this issue.
@CHKM001 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello Chief I have gone through the task and can implement within a few hours of work. Please assign for successful completion within 4-6 hours of work
ℹ️ Repo Maintainers: To accept this application, review their application or assign @CHKM001 to this issue.
@moon-code12 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi, Maintainer I can fix this issue
ℹ️ Repo Maintainers: To accept this application, review their application or assign @moon-code12 to this issue.
@Muyideen-js has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hi, I can fix this
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Muyideen-js to this issue.
@dollfins has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello maintainer, i would like to work on this issue
ℹ️ Repo Maintainers: To accept this application, review their application or assign @dollfins to this issue.
@VeronicDev has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
Hello Maintainer, I can fix this please assign.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @VeronicDev to this issue.
Congratulations, @dollfins! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @dollfins: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @dollfins as part of the Stellar Wave Program's 10th Wave 🥳
😎 @dollfins: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.