HIGH

Ensure Lambda functions do not have secrets in environment variables

Lambda environment variables should not contain plaintext secrets. Use AWS Secrets Manager or Parameter Store.

Security Impact

Environment variables are visible in the console and can be logged, exposing secrets.

How to Remediate

Move secrets to AWS Secrets Manager or Parameter Store with SecureString. Update function code to retrieve secrets at runtime.

Affected Resources

AWS::Lambda::Function

Compliance Frameworks

SOC 2PCI-DSSNIST 800-53

How TigerGate Helps

TigerGate continuously monitors your AWS environment to detect and alert on this misconfiguration. Here's what our platform does for this specific check:

  • Continuous Scanning

    Automatically scans all AWS Lambda resources across your AWS accounts every hour

  • Instant Alerts

    Get notified via Slack, email, or webhooks when this misconfiguration is detected

  • One-Click Remediation

    Fix this issue directly from the TigerGate dashboard with our guided remediation

  • Compliance Evidence

    Automatically collect audit evidence for SOC 2, PCI-DSS, NIST 800-53 compliance

  • Drift Detection

    Get alerted if this configuration drifts back to an insecure state after remediation

Check Details

Check ID
aws-lambda-6
Service
AWS Lambda
Category
Credential Management
Severity
HIGH

Automate This Check

TigerGate automatically scans your AWS environment for this and 575+ other security checks.

Start Free Trial