Skip to content

Commit

Permalink
Added reference to Secrets Manager section in the lambda docs (#1577)
Browse files Browse the repository at this point in the history
* Added reference to Secrets Manager section in the lambda docs

* Update docs/serverless.asciidoc
  • Loading branch information
AlexanderWert authored Jun 23, 2022
1 parent 8912c4a commit 1873b31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/serverless.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<configuration,fine-tune the Python agent>> or the {apm-guide-ref}/aws-lambda-config-options.html[configuration of the APM Lambda Extension].
Expand Down

0 comments on commit 1873b31

Please sign in to comment.