---
url: /process-functions/security-getsecret.md
description: Retrieve the provided secret's value.
---

# 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`.
