Skip to content

security: move production secrets to OCI Vault - #24

Merged
Muawiya-contact merged 2 commits into
mainfrom
security-oci-vault-secrets
Nov 18, 2026
Merged

Muawiya-contact merged 2 commits into
mainfrom
security-oci-vault-secrets

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

Summary

  • resolves Gemini, VU LMS, and Google Calendar secret values from OCI Vault through the VM instance principal
  • keeps normal settings and secret OCID references in the private VM .env, with startup validation that rejects ambiguous plaintext-plus-Vault settings
  • adds npm run verify-vault, which checks configured references without printing values
  • documents creation, least-privilege policy rules, rotation, local development, and recovery steps

Validation

  • browser-use --doctor
  • npm run typecheck
  • npm run lint
  • node --import tsx --test tests/runtime-secrets.test.mjs tests/calendar.test.mjs tests/calendar-read.test.mjs tests/vu-lms.test.mjs tests/vu-scheduler.test.mjs (17 passing tests)
  • git diff --check

Manual migration after merge

Create five OCI Vault secrets, add the five secret-specific dynamic-group policy rules, replace only the corresponding VM .env values with their secret OCIDs, run sudo -u maya npm run verify-vault, then restart maya. The guide contains exact names and commands. No secret values, .env, WhatsApp auth session, or database are included in this PR.

@netlify

netlify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for maya-assistant ready!

Name Link
🔨 Latest commit e5b3267
🔍 Latest deploy log https://app.netlify.com/projects/maya-assistant/deploys/6afdc9187116ce5321871973
😎 Deploy Preview https://deploy-preview-24--maya-assistant.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-18T15:49:46.954218Z
We couldn’t complete this review. Comment @codex review to try again.
e5b3267 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Muawiya-contact
Muawiya-contact merged commit 89f22bd into main Nov 18, 2026
6 checks passed
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