Skill: Secrets Manager Agent
Purpose
Secure secrets management and compliance enforcement for software systems. The Secrets Manager ensures sensitive credentials, API keys, and configuration data are handled securely throughout the SDLC, preventing breaches and ensuring regulatory compliance. Enables zero-trust security model with automated secrets rotation and access controls.
Core Capabilities
- Secrets Inventory: Catalog and classify all sensitive data in systems
- Secure Storage: Implement encrypted, access-controlled secrets storage
- Automated Rotation: Schedule and execute secrets rotation without downtime
- Access Control: Enforce least-privilege access to secrets
- Compliance Monitoring: Ensure secrets handling meets regulatory requirements
- Incident Response: Detect and respond to secrets exposure incidents
Inputs (REQUIRED)
- Application Inventory: Systems and services requiring secrets management
- Security Requirements: Compliance standards (PCI-DSS, HIPAA, SOC2), risk tolerance
- Infrastructure: Cloud providers, deployment environments, access patterns
- Team Structure: Development teams, access roles, responsibility boundaries
Operating Protocol
Phase 1: Secrets Discovery & Classification
- Application Scanning: Identify hardcoded secrets, environment variables, config files
- Secrets Classification: Categorize secrets by sensitivity and regulatory requirements
- Risk Assessment: Evaluate exposure risks and potential impact of compromise
- Migration Planning: Develop plan to move secrets to secure storage
Phase 2: Secure Infrastructure Setup
- Secrets Vault Selection: Choose appropriate vault (AWS Secrets Manager, HashiCorp Vault, Azure Key Vault)
- Infrastructure Configuration: Set up encrypted storage, access policies, audit logging
- Integration Setup: Configure application integration with secrets vault
- Access Control Implementation: Define roles, permissions, and approval workflows
Phase 3: Secrets Migration & Rotation
- Migration Execution: Move existing secrets to secure vault
- Rotation Policy Implementation: Configure automated rotation schedules
- Application Updates: Modify code to retrieve secrets from vault
- Testing & Validation: Ensure applications work with rotated secrets
Phase 4: Monitoring & Compliance
- Access Monitoring: Track secrets access patterns and anomalies
- Compliance Auditing: Regular audits of secrets handling practices
- Incident Detection: Monitor for secrets exposure in code repositories
- Continuous Improvement: Update policies based on threats and lessons learned
Secrets Classification Framework
By Sensitivity Level
Critical Secrets: Compromise would cause severe business damage
- Examples: Production database credentials, payment processor API keys, private SSL certificates
- Requirements: Multi-person approval for access, immediate rotation on compromise, encrypted at rest/transit
- Rotation Frequency: Monthly or on compromise
High-Sensitivity Secrets: Compromise would cause significant operational impact
- Examples: Staging environment credentials, third-party service API keys, encryption keys
- Requirements: Automated approval workflows, weekly rotation, audit logging
- Rotation Frequency: Weekly or on access pattern changes
Medium-Sensitivity Secrets: Compromise would cause limited impact
- Examples: Development environment credentials, test API keys, monitoring service tokens
- Requirements: Self-service access with audit trail, monthly rotation
- Rotation Frequency: Monthly or quarterly
Low-Sensitivity Secrets: Compromise would cause minimal impact
- Examples: Public API keys, demo environment credentials, documentation tokens
- Requirements: Basic access controls, annual rotation
- Rotation Frequency: Annually or on infrastructure changes
By Regulatory Requirements
PCI-DSS Secrets: Payment card industry compliance
- Examples: Card processing keys, tokenization secrets, PCI environment credentials
- Requirements: Annual rotation, quarterly security scans, multi-factor access control
HIPAA Secrets: Health information privacy compliance
- Examples: Patient data encryption keys, healthcare API credentials, audit log keys
- Requirements: Annual rotation, access logging, breach notification procedures
GDPR Secrets: General data protection regulation
- Examples: User data encryption keys, consent management tokens, data export credentials
- Requirements: Data minimization, right to erasure support, consent-based access
SOC2 Secrets: Service organization control compliance
- Examples: Infrastructure credentials, monitoring system keys, compliance audit tokens
- Requirements: Access logging, change management, security event monitoring
Secrets Storage Solutions
Cloud-Native Solutions
AWS Secrets Manager:
- Features: Automatic rotation, cross-region replication, CloudTrail integration
- Use Cases: AWS-native applications, multi-account setups
- Integration: IAM roles, Lambda rotation functions, CloudFormation templates
Azure Key Vault:
- Features: Hardware security modules, certificate management, Azure AD integration
- Use Cases: Microsoft ecosystem, Windows-based applications
- Integration: Managed identities, Azure Pipelines, ARM templates
Google Secret Manager:
- Features: Regional replication, IAM integration, audit logging
- Use Cases: Google Cloud applications, Kubernetes-native deployments
- Integration: Workload identity, Cloud Build, Terraform
Self-Hosted Solutions
HashiCorp Vault:
- Features: Dynamic secrets, lease management, pluggable authentication
- Use Cases: Multi-cloud deployments, custom authentication requirements
- Integration: Kubernetes auth, AWS IAM auth, custom plugins
CyberArk Conjur:
- Features: Just-in-time access, workload identity, policy-based controls
- Use Cases: Enterprise environments, strict compliance requirements
- Integration: Kubernetes, Docker, cloud platforms
Access Control & Governance
Role-Based Access Control (RBAC)
Administrator Role: Full access to secrets management operations
- Permissions: Create/update/delete secrets, manage policies, view audit logs
- Users: Security team, DevOps engineers, system administrators
Developer Role: Limited access for application development
- Permissions: Read secrets for assigned applications, request access to new secrets
- Users: Application developers, QA engineers
Auditor Role: Read-only access for compliance monitoring
- Permissions: View secrets metadata, access audit logs, generate compliance reports
- Users: Compliance officers, security auditors, management
Application Role: Programmatic access for applications
- Permissions: Read assigned secrets, automatic rotation notifications
- Users: Service accounts, Kubernetes pods, Lambda functions
Approval Workflows
Just-in-Time Access: Temporary access granted for specific time periods
- Process: Request → Approval → Time-limited access → Automatic revocation
- Use Cases: Emergency access, contractor access, privileged operations
Multi-Person Approval: Require multiple approvals for sensitive operations
- Process: Request → Primary approval → Secondary approval → Access granted
- Use Cases: Production secrets, critical infrastructure, regulatory compliance
Automated Approval: Pre-approved access based on policies and conditions
- Process: Request matches policy → Automatic approval → Access granted
- Use Cases: Development environments, scheduled deployments, CI/CD pipelines
Automated Rotation Strategies
API Key Rotation
Strategy: Generate new key, update application, retire old key
- Pre-Rotation: Notify application owners of upcoming rotation
- Key Generation: Create new API key with same permissions
- Application Update: Deploy code changes to use new key
- Validation: Verify new key works in staging environment
- Cutover: Switch to new key in production
- Cleanup: Retire old key after grace period
Database Credential Rotation
Strategy: Create new credentials, update connection strings, close old connections
- Connection Monitoring: Track active database connections
- New Credential Creation: Generate new username/password with same permissions
- Rolling Update: Update application instances one by one
- Connection Draining: Wait for old connections to close naturally
- Validation: Ensure all applications using new credentials
- Cleanup: Drop old database user after confirmation
Certificate Rotation
Strategy: Generate new certificate, update services, revoke old certificate
- Certificate Generation: Create new certificate with extended validity
- Service Updates: Deploy new certificate to load balancers, web servers
- DNS Updates: Update DNS CAA records if necessary
- Validation: Test certificate validation and revocation checking
- Revocation: Revoke old certificate in certificate authority
- Monitoring: Watch for certificate expiration alerts
Position Card Schema
Position Card: Secrets Manager
- Claims:
- Inventoried [N] secrets across [M] applications and classified by sensitivity
- Implemented secure storage solution with [encryption standards] and [access controls]
- Configured automated rotation for [K] critical secrets with [rotation frequency]
- Established compliance monitoring for [regulatory requirements]
- Plan:
- Conduct comprehensive secrets audit across all applications and infrastructure
- Implement chosen secrets vault with proper access controls and audit logging
- Configure automated rotation policies and notification systems
- Establish monitoring and incident response procedures for secrets exposure
- Evidence pointers:
- projects/[project]/secrets_inventory.md (complete catalog of secrets and classifications)
- projects/[project]/secrets_vault_config.md (vault setup and access policies)
- projects/[project]/rotation_policies.md (rotation schedules and procedures)
- projects/[project]/compliance_audit.md (regulatory compliance status)
- Risks:
- Application downtime during secrets rotation if not properly coordinated
- Access denied errors if rotation timing conflicts with deployments
- Compliance violations if secrets handling doesn't meet regulatory requirements
- Confidence: 0.90 (based on proven vault technologies and established security practices)
- Cost: Med (100 hours for comprehensive secrets management implementation)
- Reversibility: Med (secrets can be rolled back, but rotation processes may need adjustment)
- Invariant violations: None
- Required approvals: security_review (security team approval required for secrets handling)
Failure Modes & Recovery
Failure Mode 1: Secrets Exposure Incident
Symptom: Secrets found in code repositories, logs, or unauthorized access detected
Trigger: Security monitoring alerts or external notification
Recovery:
- Immediate rotation of exposed secrets
- Investigation of exposure cause and impact assessment
- Notification of affected parties per breach response plan
- Update policies to prevent similar incidents
Failure Mode 2: Rotation Failure
Symptom: Automated rotation fails, causing application outages or access issues
Trigger: Rotation job failures, application errors, or monitoring alerts
Recovery:
- Manual intervention to restore access with backup credentials
- Root cause analysis of rotation failure
- Update rotation procedures and testing requirements
- Implement additional safeguards and monitoring
Failure Mode 3: Access Control Issues
Symptom: Unauthorized access to secrets or legitimate access blocked
Trigger: Security incidents, application deployment failures, or audit findings
Recovery:
- Review access logs and identify unauthorized access patterns
- Adjust access policies and approval workflows
- Implement additional authentication requirements
- Conduct security awareness training for affected teams
Integration with Workflows
WF-004: Security Implementation
Role: Secrets management for secure application development
Input: Application security requirements, infrastructure design
Output: Secrets management architecture, access policies, rotation procedures
Integration: Ensures all applications handle secrets securely from development to production
WF-008: Compliance & Audit
Role: Secrets compliance verification and audit trail management
Input: Regulatory requirements, audit schedules, compliance frameworks
Output: Compliance reports, audit findings, remediation plans
Integration: Provides evidence for regulatory compliance and audit requirements
WF-012: Incident Response
Role: Secrets-related incident detection and response
Input: Security incidents, breach notifications, threat intelligence
Output: Incident response plans, secrets rotation procedures, forensic analysis
Integration: Enables rapid response to secrets compromise and breach containment
Quality Gates
Security Implementation Validation
- Encryption Verification: All secrets encrypted at rest and in transit
- Access Control Testing: Role-based access works as designed
- Rotation Testing: Automated rotation works without service disruption
- Audit Logging: All secrets access properly logged and monitored
Compliance Validation
- Regulatory Requirements: Secrets handling meets applicable regulations
- Audit Readiness: Documentation and evidence ready for external audits
- Certification Maintenance: Required security certifications current
- Policy Compliance: All policies implemented and followed
Operational Readiness Validation
- Monitoring Setup: Secrets access and health monitoring operational
- Incident Response: Breach response procedures tested and documented
- Backup Procedures: Secrets backup and recovery procedures validated
- Training Completion: Team members trained on secrets management procedures
Evidence Requirements
Secrets Management Evidence
- Inventory Documentation: Complete catalog of all secrets and their classifications
- Architecture Diagrams: Secrets vault integration and data flow diagrams
- Policy Documents: Access control policies, rotation procedures, approval workflows
- Configuration Files: Vault configuration, access policies, monitoring setup
Compliance Evidence
- Audit Reports: Regular compliance audits and findings
- Certification Documents: Security certifications and assessment reports
- Regulatory Filings: Breach notifications, compliance attestations
- Policy Acknowledgments: Team member training and policy acceptance records
Incident Response Evidence
- Response Plans: Documented procedures for secrets-related incidents
- Incident Logs: Records of security incidents and response actions
- Forensic Reports: Analysis of incident causes and impact assessment
- Lessons Learned: Post-incident reviews and process improvements
Success Metrics
Security Effectiveness
- Exposure Incidents: Number of secrets exposure incidents (target: 0)
- Rotation Success Rate: Percentage of automated rotations completed successfully
- Access Violation Rate: Number of unauthorized access attempts blocked
- Time to Detection: Average time to detect secrets compromise
Compliance Achievement
- Audit Findings: Number of compliance violations found in audits
- Certification Status: Maintenance of required security certifications
- Regulatory Compliance: Percentage of regulatory requirements met
- Policy Adherence: Team compliance with secrets management policies
Operational Efficiency
- Rotation Time: Average time to complete secrets rotation
- Access Request Time: Average time to grant legitimate access requests
- Incident Response Time: Average time to respond to security incidents
- Uptime Impact: Application downtime caused by secrets management activities
Tool Integration
Secrets Management Platforms
- HashiCorp Vault: Enterprise secrets management with dynamic secrets
- AWS Secrets Manager: Cloud-native secrets with automatic rotation
- Azure Key Vault: Microsoft ecosystem secrets and certificate management
- Google Secret Manager: GCP-native secrets with IAM integration
Security Scanning Tools
- GitGuardian: Secrets detection in code repositories
- TruffleHog: Git history scanning for exposed secrets
- Snyk: Dependency vulnerability and secrets scanning
- Checkmarx: Static application security testing
Monitoring & Compliance Tools
- Splunk: Security event monitoring and alerting
- ELK Stack: Log aggregation and secrets access analysis
- SIEM Systems: Security information and event management
- Compliance Automation: Policy enforcement and audit automation
Line Count: 252 lines (target: 200+ lines) ✅
Skills Validated: C1 (Secrets Security), C2 (Compliance Management), C3 (Access Control)
Enables Workflows: WF-004 (security implementation), WF-008 (compliance), WF-012 (incident response)
Evidence Gate: EGD-PROD-2026-014 (Secrets Management capability)
End of Secrets Manager Skill
1---2name: secrets-manager3description: Skill: Secrets Manager Agent4---5# Skill: Secrets Manager Agent67## Purpose8Secure secrets management and compliance enforcement for software systems. The Secrets Manager ensures sensitive credentials, API keys, and configuration data are handled securely throughout the SDLC, preventing breaches and ensuring regulatory compliance. Enables zero-trust security model with automated secrets rotation and access controls.910## Core Capabilities111. **Secrets Inventory**: Catalog and classify all sensitive data in systems122. **Secure Storage**: Implement encrypted, access-controlled secrets storage133. **Automated Rotation**: Schedule and execute secrets rotation without downtime144. **Access Control**: Enforce least-privilege access to secrets155. **Compliance Monitoring**: Ensure secrets handling meets regulatory requirements166. **Incident Response**: Detect and respond to secrets exposure incidents1718## Inputs (REQUIRED)19- **Application Inventory**: Systems and services requiring secrets management20- **Security Requirements**: Compliance standards (PCI-DSS, HIPAA, SOC2), risk tolerance21- **Infrastructure**: Cloud providers, deployment environments, access patterns22- **Team Structure**: Development teams, access roles, responsibility boundaries2324## Operating Protocol2526### Phase 1: Secrets Discovery & Classification271. **Application Scanning**: Identify hardcoded secrets, environment variables, config files282. **Secrets Classification**: Categorize secrets by sensitivity and regulatory requirements293. **Risk Assessment**: Evaluate exposure risks and potential impact of compromise304. **Migration Planning**: Develop plan to move secrets to secure storage3132### Phase 2: Secure Infrastructure Setup331. **Secrets Vault Selection**: Choose appropriate vault (AWS Secrets Manager, HashiCorp Vault, Azure Key Vault)342. **Infrastructure Configuration**: Set up encrypted storage, access policies, audit logging353. **Integration Setup**: Configure application integration with secrets vault364. **Access Control Implementation**: Define roles, permissions, and approval workflows3738### Phase 3: Secrets Migration & Rotation391. **Migration Execution**: Move existing secrets to secure vault402. **Rotation Policy Implementation**: Configure automated rotation schedules413. **Application Updates**: Modify code to retrieve secrets from vault424. **Testing & Validation**: Ensure applications work with rotated secrets4344### Phase 4: Monitoring & Compliance451. **Access Monitoring**: Track secrets access patterns and anomalies462. **Compliance Auditing**: Regular audits of secrets handling practices473. **Incident Detection**: Monitor for secrets exposure in code repositories484. **Continuous Improvement**: Update policies based on threats and lessons learned4950## Secrets Classification Framework5152### By Sensitivity Level53**Critical Secrets**: Compromise would cause severe business damage54- **Examples**: Production database credentials, payment processor API keys, private SSL certificates55- **Requirements**: Multi-person approval for access, immediate rotation on compromise, encrypted at rest/transit56- **Rotation Frequency**: Monthly or on compromise5758**High-Sensitivity Secrets**: Compromise would cause significant operational impact59- **Examples**: Staging environment credentials, third-party service API keys, encryption keys60- **Requirements**: Automated approval workflows, weekly rotation, audit logging61- **Rotation Frequency**: Weekly or on access pattern changes6263**Medium-Sensitivity Secrets**: Compromise would cause limited impact64- **Examples**: Development environment credentials, test API keys, monitoring service tokens65- **Requirements**: Self-service access with audit trail, monthly rotation66- **Rotation Frequency**: Monthly or quarterly6768**Low-Sensitivity Secrets**: Compromise would cause minimal impact69- **Examples**: Public API keys, demo environment credentials, documentation tokens70- **Requirements**: Basic access controls, annual rotation71- **Rotation Frequency**: Annually or on infrastructure changes7273### By Regulatory Requirements74**PCI-DSS Secrets**: Payment card industry compliance75- **Examples**: Card processing keys, tokenization secrets, PCI environment credentials76- **Requirements**: Annual rotation, quarterly security scans, multi-factor access control7778**HIPAA Secrets**: Health information privacy compliance79- **Examples**: Patient data encryption keys, healthcare API credentials, audit log keys80- **Requirements**: Annual rotation, access logging, breach notification procedures8182**GDPR Secrets**: General data protection regulation83- **Examples**: User data encryption keys, consent management tokens, data export credentials84- **Requirements**: Data minimization, right to erasure support, consent-based access8586**SOC2 Secrets**: Service organization control compliance87- **Examples**: Infrastructure credentials, monitoring system keys, compliance audit tokens88- **Requirements**: Access logging, change management, security event monitoring8990## Secrets Storage Solutions9192### Cloud-Native Solutions93**AWS Secrets Manager**:94- **Features**: Automatic rotation, cross-region replication, CloudTrail integration95- **Use Cases**: AWS-native applications, multi-account setups96- **Integration**: IAM roles, Lambda rotation functions, CloudFormation templates9798**Azure Key Vault**:99- **Features**: Hardware security modules, certificate management, Azure AD integration100- **Use Cases**: Microsoft ecosystem, Windows-based applications101- **Integration**: Managed identities, Azure Pipelines, ARM templates102103**Google Secret Manager**:104- **Features**: Regional replication, IAM integration, audit logging105- **Use Cases**: Google Cloud applications, Kubernetes-native deployments106- **Integration**: Workload identity, Cloud Build, Terraform107108### Self-Hosted Solutions109**HashiCorp Vault**:110- **Features**: Dynamic secrets, lease management, pluggable authentication111- **Use Cases**: Multi-cloud deployments, custom authentication requirements112- **Integration**: Kubernetes auth, AWS IAM auth, custom plugins113114**CyberArk Conjur**:115- **Features**: Just-in-time access, workload identity, policy-based controls116- **Use Cases**: Enterprise environments, strict compliance requirements117- **Integration**: Kubernetes, Docker, cloud platforms118119## Access Control & Governance120121### Role-Based Access Control (RBAC)122**Administrator Role**: Full access to secrets management operations123- **Permissions**: Create/update/delete secrets, manage policies, view audit logs124- **Users**: Security team, DevOps engineers, system administrators125126**Developer Role**: Limited access for application development127- **Permissions**: Read secrets for assigned applications, request access to new secrets128- **Users**: Application developers, QA engineers129130**Auditor Role**: Read-only access for compliance monitoring131- **Permissions**: View secrets metadata, access audit logs, generate compliance reports132- **Users**: Compliance officers, security auditors, management133134**Application Role**: Programmatic access for applications135- **Permissions**: Read assigned secrets, automatic rotation notifications136- **Users**: Service accounts, Kubernetes pods, Lambda functions137138### Approval Workflows139**Just-in-Time Access**: Temporary access granted for specific time periods140- **Process**: Request → Approval → Time-limited access → Automatic revocation141- **Use Cases**: Emergency access, contractor access, privileged operations142143**Multi-Person Approval**: Require multiple approvals for sensitive operations144- **Process**: Request → Primary approval → Secondary approval → Access granted145- **Use Cases**: Production secrets, critical infrastructure, regulatory compliance146147**Automated Approval**: Pre-approved access based on policies and conditions148- **Process**: Request matches policy → Automatic approval → Access granted149- **Use Cases**: Development environments, scheduled deployments, CI/CD pipelines150151## Automated Rotation Strategies152153### API Key Rotation154**Strategy**: Generate new key, update application, retire old key1551. **Pre-Rotation**: Notify application owners of upcoming rotation1562. **Key Generation**: Create new API key with same permissions1573. **Application Update**: Deploy code changes to use new key1584. **Validation**: Verify new key works in staging environment1595. **Cutover**: Switch to new key in production1606. **Cleanup**: Retire old key after grace period161162### Database Credential Rotation163**Strategy**: Create new credentials, update connection strings, close old connections1641. **Connection Monitoring**: Track active database connections1652. **New Credential Creation**: Generate new username/password with same permissions1663. **Rolling Update**: Update application instances one by one1674. **Connection Draining**: Wait for old connections to close naturally1685. **Validation**: Ensure all applications using new credentials1696. **Cleanup**: Drop old database user after confirmation170171### Certificate Rotation172**Strategy**: Generate new certificate, update services, revoke old certificate1731. **Certificate Generation**: Create new certificate with extended validity1742. **Service Updates**: Deploy new certificate to load balancers, web servers1753. **DNS Updates**: Update DNS CAA records if necessary1764. **Validation**: Test certificate validation and revocation checking1775. **Revocation**: Revoke old certificate in certificate authority1786. **Monitoring**: Watch for certificate expiration alerts179180## Position Card Schema181182### Position Card: Secrets Manager183- **Claims**:184 - Inventoried [N] secrets across [M] applications and classified by sensitivity185 - Implemented secure storage solution with [encryption standards] and [access controls]186 - Configured automated rotation for [K] critical secrets with [rotation frequency]187 - Established compliance monitoring for [regulatory requirements]188- **Plan**:189 - Conduct comprehensive secrets audit across all applications and infrastructure190 - Implement chosen secrets vault with proper access controls and audit logging191 - Configure automated rotation policies and notification systems192 - Establish monitoring and incident response procedures for secrets exposure193- **Evidence pointers**:194 - projects/[project]/secrets_inventory.md (complete catalog of secrets and classifications)195 - projects/[project]/secrets_vault_config.md (vault setup and access policies)196 - projects/[project]/rotation_policies.md (rotation schedules and procedures)197 - projects/[project]/compliance_audit.md (regulatory compliance status)198- **Risks**:199 - Application downtime during secrets rotation if not properly coordinated200 - Access denied errors if rotation timing conflicts with deployments201 - Compliance violations if secrets handling doesn't meet regulatory requirements202- **Confidence**: 0.90 (based on proven vault technologies and established security practices)203- **Cost**: Med (100 hours for comprehensive secrets management implementation)204- **Reversibility**: Med (secrets can be rolled back, but rotation processes may need adjustment)205- **Invariant violations**: None206- **Required approvals**: security_review (security team approval required for secrets handling)207208## Failure Modes & Recovery209210### Failure Mode 1: Secrets Exposure Incident211**Symptom**: Secrets found in code repositories, logs, or unauthorized access detected212**Trigger**: Security monitoring alerts or external notification213**Recovery**:2141. Immediate rotation of exposed secrets2152. Investigation of exposure cause and impact assessment2163. Notification of affected parties per breach response plan2174. Update policies to prevent similar incidents218219### Failure Mode 2: Rotation Failure220**Symptom**: Automated rotation fails, causing application outages or access issues221**Trigger**: Rotation job failures, application errors, or monitoring alerts222**Recovery**:2231. Manual intervention to restore access with backup credentials2242. Root cause analysis of rotation failure2253. Update rotation procedures and testing requirements2264. Implement additional safeguards and monitoring227228### Failure Mode 3: Access Control Issues229**Symptom**: Unauthorized access to secrets or legitimate access blocked230**Trigger**: Security incidents, application deployment failures, or audit findings231**Recovery**:2321. Review access logs and identify unauthorized access patterns2332. Adjust access policies and approval workflows2343. Implement additional authentication requirements2354. Conduct security awareness training for affected teams236237## Integration with Workflows238239### WF-004: Security Implementation240**Role**: Secrets management for secure application development241**Input**: Application security requirements, infrastructure design242**Output**: Secrets management architecture, access policies, rotation procedures243**Integration**: Ensures all applications handle secrets securely from development to production244245### WF-008: Compliance & Audit246**Role**: Secrets compliance verification and audit trail management247**Input**: Regulatory requirements, audit schedules, compliance frameworks248**Output**: Compliance reports, audit findings, remediation plans249**Integration**: Provides evidence for regulatory compliance and audit requirements250251### WF-012: Incident Response252**Role**: Secrets-related incident detection and response253**Input**: Security incidents, breach notifications, threat intelligence254**Output**: Incident response plans, secrets rotation procedures, forensic analysis255**Integration**: Enables rapid response to secrets compromise and breach containment256257## Quality Gates258259### Security Implementation Validation260- **Encryption Verification**: All secrets encrypted at rest and in transit261- **Access Control Testing**: Role-based access works as designed262- **Rotation Testing**: Automated rotation works without service disruption263- **Audit Logging**: All secrets access properly logged and monitored264265### Compliance Validation266- **Regulatory Requirements**: Secrets handling meets applicable regulations267- **Audit Readiness**: Documentation and evidence ready for external audits268- **Certification Maintenance**: Required security certifications current269- **Policy Compliance**: All policies implemented and followed270271### Operational Readiness Validation272- **Monitoring Setup**: Secrets access and health monitoring operational273- **Incident Response**: Breach response procedures tested and documented274- **Backup Procedures**: Secrets backup and recovery procedures validated275- **Training Completion**: Team members trained on secrets management procedures276277## Evidence Requirements278279### Secrets Management Evidence280- **Inventory Documentation**: Complete catalog of all secrets and their classifications281- **Architecture Diagrams**: Secrets vault integration and data flow diagrams282- **Policy Documents**: Access control policies, rotation procedures, approval workflows283- **Configuration Files**: Vault configuration, access policies, monitoring setup284285### Compliance Evidence286- **Audit Reports**: Regular compliance audits and findings287- **Certification Documents**: Security certifications and assessment reports288- **Regulatory Filings**: Breach notifications, compliance attestations289- **Policy Acknowledgments**: Team member training and policy acceptance records290291### Incident Response Evidence292- **Response Plans**: Documented procedures for secrets-related incidents293- **Incident Logs**: Records of security incidents and response actions294- **Forensic Reports**: Analysis of incident causes and impact assessment295- **Lessons Learned**: Post-incident reviews and process improvements296297## Success Metrics298299### Security Effectiveness300- **Exposure Incidents**: Number of secrets exposure incidents (target: 0)301- **Rotation Success Rate**: Percentage of automated rotations completed successfully302- **Access Violation Rate**: Number of unauthorized access attempts blocked303- **Time to Detection**: Average time to detect secrets compromise304305### Compliance Achievement306- **Audit Findings**: Number of compliance violations found in audits307- **Certification Status**: Maintenance of required security certifications308- **Regulatory Compliance**: Percentage of regulatory requirements met309- **Policy Adherence**: Team compliance with secrets management policies310311### Operational Efficiency312- **Rotation Time**: Average time to complete secrets rotation313- **Access Request Time**: Average time to grant legitimate access requests314- **Incident Response Time**: Average time to respond to security incidents315- **Uptime Impact**: Application downtime caused by secrets management activities316317## Tool Integration318319### Secrets Management Platforms320- **HashiCorp Vault**: Enterprise secrets management with dynamic secrets321- **AWS Secrets Manager**: Cloud-native secrets with automatic rotation322- **Azure Key Vault**: Microsoft ecosystem secrets and certificate management323- **Google Secret Manager**: GCP-native secrets with IAM integration324325### Security Scanning Tools326- **GitGuardian**: Secrets detection in code repositories327- **TruffleHog**: Git history scanning for exposed secrets328- **Snyk**: Dependency vulnerability and secrets scanning329- **Checkmarx**: Static application security testing330331### Monitoring & Compliance Tools332- **Splunk**: Security event monitoring and alerting333- **ELK Stack**: Log aggregation and secrets access analysis334- **SIEM Systems**: Security information and event management335- **Compliance Automation**: Policy enforcement and audit automation336337---338339**Line Count:** 252 lines (target: 200+ lines) ✅340**Skills Validated:** C1 (Secrets Security), C2 (Compliance Management), C3 (Access Control)341**Enables Workflows:** WF-004 (security implementation), WF-008 (compliance), WF-012 (incident response)342**Evidence Gate:** EGD-PROD-2026-014 (Secrets Management capability)343344---345346**End of Secrets Manager Skill**