Skip to content

security.getSecret ​

Retrieve the provided secret's value.

js
security.getSecret(secretName)

Parameters ​

  • secretName - The name of the secret.

Example ​

js
security.getSecret("secret_name")

This would return the value of the secret secret_name.