Skip to content
Agentmart
Submit a tool

dsg-secrets-manager-integrator

Integrate DSG agents and services with AWS Secrets Manager for production-grade secret management.

Skill by tdealer01-crypto

IndexedMIT★ 12
Write a review

Chalk Labs

Need help deploying dsg-secrets-manager-integrator?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tdealer01-crypto-dsg-secrets-manager-integrator

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Integrate DSG agents and services with AWS Secrets Manager for production-grade secret management. Configure credential broker for Secrets Manager queries, create IAM policies for secret access, updat

Use cases: cloud, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/dsg-secrets-manager-integrator

What's inside

Skill name
dsg-secrets-manager-integrator
Description
Integrate DSG agents and services with AWS Secrets Manager for production-grade secret management. Configure credential broker for Secrets Manager queries, create IAM policies for secret access, updat
License
MIT
Instructions
583 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • body: 583 lines (spec recommends under 500)

Files (4)

  • README.md
  • SKILL.md
  • package.json
  • skill.ts

SKILL.md (first lines)

# DSG Secrets Manager Integrator

Production secrets management via **AWS Secrets Manager** integration with DSG agents, credential broker, Hermes controlled executor, and deterministic governance.

***

## When to invoke this skill

| Intent                                            | Use this skill                    |
| ------------------------------------------------- | --------------------------------- |
| "Configure credential broker for Secrets Manager" | ✅ Yes — broker integration        |
| "Set up Hermes executor with secret leasing"      | ✅ Yes — controlled executor auth  |
| "Remove hardcoded secrets from environment"       | ✅ Yes — migration to vault        |
| "Rotate API keys and database passwords"          | ✅ Yes — key rotation              |
| "Audit which service accessed which secret"       | ✅ Yes — access audit trail        |
| "Test credential lease expiration"                | ✅ Yes — lease lifecycle           |
| "Create IAM policy for secret access"             | ✅ Yes — policy generation         |
| "Enable ECS task to query Secrets Manager"        | ✅ Yes — ECS integration           |
| "Quick health check on a single secret"           | ❌ Use AWS CLI or Console directly |

***

## Architecture overview

```
┌────────────────────────────────────────────────────────────┐
│                    DSG Agent / Service                      │
└─────────────────────┬──────────────────────────────────────┘
                      │
                      ▼
┌────────────────────────────────────────────────────────────┐
│              Credential Broker (Node.js)                    │
│  lib/dsg/brain/credential-broker.ts                        │
│                                                             │
│  ✓ Query Secrets Manager                                   │
│  ✓ Issue leases with expiration                            │
│  ✓ Return fingerprints (not raw secrets)                   │
│  ✓ Audit access in DynamoDB                               │
│  ✓ Support policy-based grants                            │
└─────────────────────┬──────────────────────────────────────┘
                      │
        ┌─────────────┴──────────────┬──────────────┐
        ▼                            ▼              ▼
  AWS Secrets Manager          DynamoDB         CloudTrail
  ┌─────────────────┐      (credential_leases) (audit logs)
  │ api-secrets-v2  │
  │ - API_KEY       │
  │ - JWT_SECRET    │
  │                 │
  │ db-secrets-v2   │
  │ - password      │
  │ - host          │
  │                 │
  │ oauth-secrets-v2│
  │ - client_id     │
  │ - client_secret │
  └─────────────────┘
```

***

## Secrets Manager structure

### Pre-deployment secrets (created by CDK)

```bash
# API Secrets
aws secretsmanager get-secret-value --secret-id dsg-one-dev-api-secrets-v2
# Returns: ANTHROPIC_API_KEY, JWT_SECRET, API_KEY

# Database Secrets
aws secretsmanager get-secret-value --secret-id dsg-one-dev-database-secrets-v2
# Returns: username, password, host, port, dbname

# OAuth Secrets
aws secretsmanager get-secret-value --secret-id dsg-one-dev-oauth-secrets-v2
# Returns: GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, GOOGLE_CLIENT_ID, etc.
```

### Credential broker schema (DynamoDB)

```sql
-- Table: credential_leases
CREATE TABLE credential_leases (
  id TEXT PRIMARY KEY,                          -- UUID
  secret_name TEXT NOT NULL,                    -- which secret
  secret_version TEXT,                          -- version of secret
  requester_id TEXT NOT NULL,                   -- agent/service requesting
  grant_policy_hash TEXT,                       -- hash of approval gate
  lease_issued_at TIMESTAMP NOT NULL,           -- when issued
  lease_expires_at TIMESTAMP NOT NULL,          -- when expires (15 min default)
  credential_fingerprint TEXT NOT NULL,         -- hash of secret value
  access_log_id TEXT,                           -- pointer to audit log
  status TEXT NOT NULL,                         -- ACTIVE, EXPIRED, REVOKED
  revoked_at TIMESTAMP,                         -- if revoked early
  revoke_reason TEXT
);

-- Table: credential_access_audit
CREATE TABLE credential_access_audit (
  id TEXT PRIMARY KEY,                          -- UUID
  timestamp TIMESTAMP NOT NULL,                 -- when accessed
  requester_id TEXT NOT NULL,                   -- who requested
  secret_name TEXT NOT NULL,                    -- which secret
  action TEXT NOT NULL,                         -- GET, LEASE, REVOKE
  outcome TEXT NOT NULL,                        -- SUCCESS, DENIED, EXPIRED
  denial_reason TEXT,                           -- if denied
  gate_policy_hash TEXT,                        -- governance gate used
  fingerprint_returned TEXT,                    -- fingerprint sent to requester
  request_context TEXT                         -- caller context
);
```

***

## Credential broker implementation

### Current state (Supabase-backed)

From tdealer01-crypto/tdealer01-crypto-dsg-control-plane, MIT.

More from tdealer01-crypto/tdealer01-crypto-dsg-control-plane

Signals

Stars
12
Forks
1
Open issues
20
Last commit (this folder)
Jul 31, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tdealer01-crypto

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get dsg-secrets-manager-integrator running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying dsg-secrets-manager-integrator?

CallGet help
Cite this page

dsg-secrets-manager-integrator skill. Agent Mart. https://agentmart.dev/skills/tdealer01-crypto-dsg-secrets-manager-integrator (last updated 2026-10-24)