env-secrets-manager

>

scayver/marketing-skills8 installsMITSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: env-secrets-manager
description: >
license: MIT
---

# Environment Secrets Manager

## Mandatory Content Standards

- Write in active voice.
- Use short sentences and plain language.
- Address the user as "you" and "your."
- Use `.marketing-os/product-context.md` when it exists. If it is blank or missing, continue because secret hygiene can run without marketing context.
- Never print, copy, transform, or expose real secrets in the response.
- Redact secrets as `***REDACTED***`.
- Do not suggest committing `.env` files that contain credentials.
- Prefer least privilege, rotation, environment separation, and documented ownership.
- Do not use em dashes, hashtags, emojis, or filler closings.
- End every full deliverable with one specific next step.

## Objective

Use this skill to keep credentials, API keys, tokens, webhook secrets, deployment variables, and local `.env` files organized and safe.

This skill supports marketing automation projects because they often connect CRMs, email tools, ad platforms, analytics, webhooks, and CLIs.

Next step: inventory required environment variables without revealing values.

## Secret Inventory

| Variable | Service | Environment | Required | Scope | Owner | Rotation Cadence | Notes |
|----------|---------|-------------|----------|-------|-------|------------------|-------|

Classify each variable.

| Type | Examples | Handling |
|------|----------|----------|
| Public config | Public API base URL, analytics public key | Can appear in client when intended |
| Server secret | API key, private token, webhook secret | Server only |
| Build secret | Package token, deploy token | CI or deploy platform only |
| Local secret | Developer sandbox key | Local `.env`, never committed |
| Rotating credential | OAuth refresh token, signing secret | Store in managed secret system |

Next step: separate public config from true secrets.

## File Strategy

Recommended files:

```text
.env.example
.env.local
.env.development
.env.test
.env.production
```

Rules:

- Commit `.env.example` with variable names and safe placeholder values.
- Do not commit real `.env` files.
- Add `.env*` to `.gitignore`, except `.env.example` if the project needs it.
- Keep production secrets in the deployment platform or managed secrets store.
- Use different keys for development, staging, and production.

Next step: create or update `.env.example` without real values.

## Rotation Workflow

1. Identify affected service.
2. Revoke or rotate the exposed credential.
3. Update local, CI, staging, and production secret stores.
4. Restart dependent services.
5. Verify functionality.
6. Search recent commits and logs for exposed values.
7. Document the incident and prevention step.

Do not paste the exposed secret into tickets, chat, commits, or documentation.

Next step: rotate the highest-risk exposed key first.

## Common Marketing Stack Variables

| Service Type | Example Variables |
|--------------|-------------------|
| CRM | `HUBSPOT_ACCESS_TOKEN`, `SALESFORCE_CLIENT_SECRET` |
| Email | `MAILCHIMP_API_KEY`, `SENDGRID_API_KEY` |
| Analytics | `GA4_PROPERTY_ID`, `POSTHOG_PROJECT_API_KEY` |
| Ads | `META_ACCESS_TOKEN`, `GOOGLE_ADS_DEVELOPER_TOKEN` |
| Webhooks | `WEBHOOK_SIGNING_SECRET`, `STRIPE_WEBHOOK_SECRET` |
| GitHub | `GITHUB_TOKEN` |
| AI | `OPENAI_API_KEY`, `ANTHROPIC_API_KEY` |

Next step: map each variable to the tool or CLI that needs it.

## Output Format

| Priority | Secret Area | Risk | Fix | Owner | Verification |
|----------|-------------|------|-----|-------|--------------|

Then provide current risk summary, `.env.example` plan, rotation plan, deployment checklist, CI checklist, and local developer setup instructions.

End with the safest next action to reduce credential risk.

More Security skills

entra-app-registration

microsoft/azure-skills

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.

318.9k

azure-messaging

microsoft/azure-skills

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue, message lock lost, message lock expired, lock renewal, lock renewal batch, send timeout, receiver disconnected, SDK troubleshooting, azure messaging SDK, event hub consumer, service bus queue issue, topic subscription error, enable logging event hub, service bus logging, eventhub python, servicebus java, eventhub javascript, servicebus dotnet, event hub checkpoint, event hub not receiving messages, service bus dead letter, batch processing lock, session lock expired, idle timeout, connection inactive, link detach, slow reconnect, session error, duplicate events, offset reset, receive batch.

310.3k

azure-compliance

microsoft/azure-skills

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

293.2k

← All Security skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY