'Secure Persona API keys, webhook secrets, PII handling in verification
Scanned 9/2/2026
Install to Claude Code
npx -y skills add jeremylongshore/tons-of-skills-marketplace --skill persona-security-basics --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Persona Security Basics?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/jeremylongshore-persona-security-basics-df19a0b9)More formats (shields.io, HTML) on the badges page.
---
name: persona-security-basics
description: 'Secure Persona API keys, webhook secrets, PII handling in verification
data.
Use when working with Persona identity verification.
Trigger with phrases like "persona security-basics", "persona security-basics".
'
allowed-tools: Read, Write, Grep
version: 1.4.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- persona
- identity
- kyc
- verification
compatibility: Designed for Claude Code
---
# persona security basics | sed 's/\b\(.\)/\u\1/g'
## Overview
API key rotation, webhook HMAC verification, PII encryption at rest, audit logging.
## Prerequisites
- Completed `persona-install-auth` setup
- Valid Persona API key (sandbox or production)
## Instructions
### Step 1: Implementation
```python
import os, requests
HEADERS = {
"Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
"Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"
# Secure Persona API keys, webhook secrets, PII handling in verification data
resp = requests.get(f"{BASE}/inquiries?page[size]=10", headers=HEADERS)
resp.raise_for_status()
inquiries = resp.json()["data"]
for inq in inquiries:
print(f" {inq['id']}: {inq['attributes']['status']}")
```
## Output
- API key rotation, webhook HMAC verification, PII encryption at rest, audit logging.
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| 401 Unauthorized | Invalid API key | Check PERSONA_API_KEY |
| 429 Rate Limited | Too many requests | Implement backoff |
| 404 Not Found | Wrong resource ID | Verify ID format |
## Resources
- [Persona API Reference](https://docs.withpersona.com/reference/introduction)
- [Persona Documentation](https://docs.withpersona.com)
## Next Steps
See related Persona skills for more workflows.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!