---
title: ZSCALER_OBFUSCATE_API_KEY
url: https://www.tines.com/docs/formulas/functions/zscaler-obfuscate-api-key/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# ZSCALER_OBFUSCATE_API_KEY

*[View on tines.com](https://www.tines.com/docs/formulas/functions/zscaler-obfuscate-api-key/)*

Obfuscates a Zscaler API key using the function described in the [Zscaler API documentation](https://help.zscaler.com/zia/getting-started-zia-api#CreateSession). For the "now" argument provide the current time in milliseconds since the epoch with DATE(NOW(), "%s%L").

**Categories:** Hashing/Signing

## Syntax

```
ZSCALER_OBFUSCATE_API_KEY(api_key, now)
```

## Examples

### Example 1

Formula:

```
ZSCALER_OBFUSCATE_API_KEY("my_api_key", DATE(NOW(), "%s%L"))
```

Output:

```json
"yy_k_p_ip"
```
