---
title: Unable to use AWS  secrets manager
source: https://docs.newrelic.com/docs/serverless-function-monitoring/aws-lambda-monitoring/troubleshooting/troubleshoot-using-aws-secrets-manager
---

## Problem

You can't use AWS Secrets Manager to store your New Relic license key.

## Solution

If your organization does not allow the use of AWS Secrets Manager, the New Relic Lambda Extension accepts a `NEW_RELIC_LICENSE_KEY` environment variable. Add the `--disable-license-key-secret` flag from the `newrelic-lambda integrations install` command. Then set this environment variable to your  license key in your Lambda function configuration.
