From 1873b31f2ef77cf9850b6f1b28ce0513776120fb Mon Sep 17 00:00:00 2001 From: Alexander Wert Date: Thu, 23 Jun 2022 07:43:13 +0200 Subject: [PATCH] Added reference to Secrets Manager section in the lambda docs (#1577) * Added reference to Secrets Manager section in the lambda docs * Update docs/serverless.asciidoc --- docs/serverless.asciidoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/serverless.asciidoc b/docs/serverless.asciidoc index f4e2160ce..0fdfbb67c 100644 --- a/docs/serverless.asciidoc +++ b/docs/serverless.asciidoc @@ -54,6 +54,8 @@ The APM Lambda Extension and the APM Python agent are configured through environ For the minimal configuration, you will need the _APM Server URL_ to set the destination for APM data and an _{apm-guide-ref}/secret-token.html[APM Secret Token]_. If you prefer to use an {apm-guide-ref}/api-key.html[APM API key] instead of the APM secret token, use the `ELASTIC_APM_API_KEY` environment variable instead of `ELASTIC_APM_SECRET_TOKEN` in the following configuration. +For production environments, we recommend {apm-guide-ref}/aws-lambda-secrets-manager.html[using the AWS Secrets Manager to store your APM authentication key] instead of providing the secret value as plaintext in the environment variables. + include::./lambda/configure-lambda-widget.asciidoc[] You can optionally <> or the {apm-guide-ref}/aws-lambda-config-options.html[configuration of the APM Lambda Extension].