Using Secrets in Deco Sites
secret
prop is declared in the Props
interface. The
loader
function retrieves the secret value using the get()
method, and then
you can use the secret in your code.
Important note: Secrets cannot be revealed on the Admin UI. They will be hidden by default.
ENV_VAR
available in runtime with the mysecretvalue
value
to be used locally.