> This page is for version 0.10.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo-helix/latest/llms.txt
> - 0.10: https://docs.nvidia.com/nemo-helix/v0.10/llms.txt
> - 0.9: https://docs.nvidia.com/nemo-helix/v0.9/llms.txt
> - 0.8: https://docs.nvidia.com/nemo-helix/v0.8/llms.txt
> - 0.7: https://docs.nvidia.com/nemo-helix/v0.7/llms.txt
> - 0.6: https://docs.nvidia.com/nemo-helix/v0.6/llms.txt
> - 0.5: https://docs.nvidia.com/nemo-helix/v0.5/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo-helix/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo-helix/_mcp/server.

# Admin Rotate Encryption Keys

POST http://localhost:8080/apis/secrets/v2/rotate-encryption-keys

Rotate encryption keys for all platform secrets.

Reference: https://docs.nvidia.com/nemo-helix/documentation/reference/api-reference/secrets-admin/admin-rotate-encryption-keys-apis-secrets-v-2-rotate-encryption-keys-post

## Response

### 202

Successful Response

- `rotated_secrets` (integer, required)
- `success` (boolean, required)

## Examples

**Response**

```json
{
  "rotated_secrets": 1,
  "success": true
}
```

**SDK Code**

```python
import requests

url = "http://localhost:8080/apis/secrets/v2/rotate-encryption-keys"

response = requests.post(url)

print(response.json())
```

```javascript
const url = 'http://localhost:8080/apis/secrets/v2/rotate-encryption-keys';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```