Skip to content

Commit 47aae81

Browse files
authored
Update README.md
1 parent c32db63 commit 47aae81

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ The Datadog API must be defined as an environment variable via [AWS CLI](https:/
3333

3434
- DD_API_KEY or DD_KMS_API_KEY (if encrypted by KMS)
3535

36+
You can also supply or override the API key at runtime:
37+
38+
```python
39+
# Override DD API Key after importing datadog_lambda packages
40+
from datadog import api
41+
api._api_key = "MY_API_KEY"
42+
```
43+
3644
Set the following Datadog environment variable to `datadoghq.eu` to send your data to the Datadog EU site.
3745

3846
- DD_SITE

0 commit comments

Comments
 (0)