How to access secret variables in vue3

How can I access secret variables in Vue3 ?

I have tried accessing them through process.env but this gives me the error Uncaught ReferenceError: process is not defined”

As I understand Vue3 uses primarily import.meta instead of process.env

Is this needed? How can I access the secret variables?