documenso-security-basics

Featured

Implement security best practices for Documenso document signing integrations. Use when securing API keys, configuring webhooks securely, or implementing document security measures. Trigger with phrases like "documenso security", "secure documenso", "documenso API key security", "documenso webhook security".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Documenso Security Basics ## Overview Essential security practices for Documenso integrations: API key management, webhook verification, document access control, and self-hosted signing certificate configuration. ## Prerequisites - Documenso account with API access - Understanding of environment variables and secret management - Completed `documenso-install-auth` setup ## Instructions ### Step 1: API Key Security ```typescript // NEVER hardcode keys const BAD = new Documenso({ apiKey: "api_abc123..." }); // Exposed in source // ALWAYS use environment variables const GOOD = new Documenso({ apiKey: process.env.DOCUMENSO_API_KEY! }); ``` **Key management rules:** - Store in `.env` (never committed) or a secrets manager (Vault, AWS Secrets Manager) - Use team-scoped keys for team resources, personal keys for personal documents - Rotate keys on employee offboarding -- revoke in dashboard immediately - CI/CD: use masked/encrypted secrets (GitHub Secrets, GitLab CI variables) ```bash # .gitignore — always include .env .env.* !.env.example ``` ### Step 2: Key Rotation with Zero Downtime ```typescript // Support dual keys during rotation function getApiKey(): string { // Try primary first, fall back to secondary during rotation return process.env.DOCUMENSO_API_KEY_PRIMARY ?? process.env.DOCUMENSO_API_KEY_SECONDARY ?? (() => { throw new Error("No Documenso API key configured"); })(); } // Rotation procedure: // 1. Generate new key in Documenso dashboard // 2....

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category