unable to access .dev.vars

Hey everyone, I'm new to working with cloudflare workers and facing an issue. When i define my secrets inside .dev.vars file and trying to access it inside my handler function it says "hidden". Can anyone help?
3 Replies
Hello, I’m Allie!
Is that in the logs on startup, or if you try to console.log them manually?
Avinash
AvinashOP6mo ago
Both in logs and console when i try to console.log it. Finally figured it out. still it shows hidden in the startup logs but don't know may be that's how it's supposed to work. But console.logging them works. 😌
Hello, I’m Allie!
Yeah, it’s supposed to be hidden in the startup logs, since it is a “secret”
Want results from more Discord servers?
Add your server