summaryrefslogtreecommitdiff
path: root/docs/resources/identity.md
blob: 9cfb965d3c872d32a6b0f9bdf7503379acbf6154 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "eventline_identity Resource - terraform-provider-eventline"
subcategory: ""
description: |-
  Eventline identity resource
---

# eventline_identity (Resource)

Eventline identity resource

## Example Usage

```terraform
data "eventline_project" "main" {
  name = "main"
}

resource "eventline_identity" "example" {
  name       = "example"
  project_id = data.project.main.id

  connector = "eventline"
  data      = "{\n    \"key\": \"test\"\n  }"
  type      = "api_key"
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `connector` (String) The connector used for the identity.
- `data` (String, Sensitive) The json raw data of the identity.
- `name` (String) The name of the identity.
- `project_id` (String) Project id
- `type` (String) The type of the identity.

### Read-Only

- `id` (String) The identifier of the identity.
- `status` (String) The status of the identity.

## Import

Import is supported using the following syntax:

```shell
terraform import eventline_identity.test <project_id>/<identity_id>
```