Variables
When to Use Variables?
Using Variables
// Get the value of the variable named 'STRIPE_API_KEY' from Vault
const apiKey = ascent.variables.get("STRIPE_API_KEY");
// apiKey now holds the secret value stored in the Vault variable
console.log(apiKey); // Example output: "sk_live_..."Last updated
Was this helpful?