-
Notifications
You must be signed in to change notification settings - Fork 384
/
api_key.md
40 lines (28 loc) · 1.32 KB
/
api_key.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "datadog_api_key Resource - terraform-provider-datadog"
subcategory: ""
description: |-
Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. Import functionality for this resource is deprecated and will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use this resource to create and manage new API keys.
---
# datadog_api_key (Resource)
Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. Import functionality for this resource is deprecated and will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use this resource to create and manage new API keys.
## Example Usage
```terraform
# Create a new Datadog API Key
resource "datadog_api_key" "foo" {
name = "foo-application"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String) Name for API Key.
### Read-Only
- `id` (String) The ID of this resource.
- `key` (String, Sensitive) The value of the API Key.
## Import
Import is supported using the following syntax:
```shell
terraform import datadog_api_key.foo 11111111-2222-3333-4444-555555555555
```