Monitor Secrets does not work with Synthetic Monitors or JavaScript Expressions #251

Closed
opened 2026-04-05 16:19:12 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @W170 on 11/24/2025

Describe the bug
I created my secret in the OneUptime dashboard, under 'Project settings' > 'Monitor secrets' > 'Create monitor secret', and assigned it to the desired projects. However, when I run it, the reference value is not replaced with the secret value..

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'OneUptime Dashboard -> Project Settings -> Monitor -> Secrets'

  2. Click on 'Create Monitor Secret'

  3. Fill form

  4. Add Monitors:
    Image

  5. Setup Synthetic Monitor:

Image

Expected behavior
It should return the referenced value, instead of the template value.

Deployment Type
Is this issue on self hosted

OneUptime Version
API: 8.0.5582 (51882a595a)
Dashboard: 8.0.5582 (51882a595a)

*Originally created by @W170 on 11/24/2025* **Describe the bug** I created my secret in the OneUptime dashboard, under 'Project settings' > 'Monitor secrets' > 'Create monitor secret', and assigned it to the desired projects. However, when I run it, the reference value is not replaced with the secret value.. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'OneUptime Dashboard -> Project Settings -> Monitor -> Secrets' 2. Click on 'Create Monitor Secret' 3. Fill form 4. Add Monitors: <img width="540" height="493" alt="Image" src="https://github.com/user-attachments/assets/48291491-d23b-48f3-91ed-002398c9c37b" /> 5. Setup Synthetic Monitor: <img width="1132" height="896" alt="Image" src="https://github.com/user-attachments/assets/bdad0017-f9a7-4a00-a235-76fb0f407635" /> **Expected behavior** It should return the referenced value, instead of the template value. **Deployment Type** Is this issue on self hosted **OneUptime Version** API: 8.0.5582 (51882a595a94895a85987650eaec262b05b1b78b) Dashboard: 8.0.5582 (51882a595a94895a85987650eaec262b05b1b78b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#251