|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "hookdeck_destination Data Source - terraform-provider-hookdeck" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + Destination Data Source |
| 7 | +--- |
| 8 | + |
| 9 | +# hookdeck_destination (Data Source) |
| 10 | + |
| 11 | +Destination Data Source |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<!-- schema generated by tfplugindocs --> |
| 16 | +## Schema |
| 17 | + |
| 18 | +### Required |
| 19 | + |
| 20 | +- `id` (String) ID of the destination |
| 21 | + |
| 22 | +### Read-Only |
| 23 | + |
| 24 | +- `auth_method` (Attributes) Config for the destination's auth method (see [below for nested schema](#nestedatt--auth_method)) |
| 25 | +- `cli_path` (String) Path for the CLI destination |
| 26 | +- `created_at` (String) Date the destination was created |
| 27 | +- `description` (String) Description for the destination |
| 28 | +- `disabled_at` (String) Date the destination was disabled |
| 29 | +- `http_method` (String) must be one of ["GET", "POST", "PUT", "PATCH", "DELETE"] |
| 30 | +HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source. |
| 31 | +- `name` (String) A unique, human-friendly name for the destination |
| 32 | +- `path_forwarding_disabled` (Boolean) |
| 33 | +- `rate_limit` (Attributes) Rate limit (see [below for nested schema](#nestedatt--rate_limit)) |
| 34 | +- `team_id` (String) ID of the workspace |
| 35 | +- `updated_at` (String) Date the destination was last updated |
| 36 | +- `url` (String) HTTP endpoint of the destination |
| 37 | + |
| 38 | +<a id="nestedatt--auth_method"></a> |
| 39 | +### Nested Schema for `auth_method` |
| 40 | + |
| 41 | +Read-Only: |
| 42 | + |
| 43 | +- `api_key` (Attributes) API Key (see [below for nested schema](#nestedatt--auth_method--api_key)) |
| 44 | +- `aws_signature` (Attributes) AWS Signature (see [below for nested schema](#nestedatt--auth_method--aws_signature)) |
| 45 | +- `basic_auth` (Attributes) Basic Auth (see [below for nested schema](#nestedatt--auth_method--basic_auth)) |
| 46 | +- `bearer_token` (Attributes) Bearer Token (see [below for nested schema](#nestedatt--auth_method--bearer_token)) |
| 47 | +- `custom_signature` (Attributes) Custom Signature (see [below for nested schema](#nestedatt--auth_method--custom_signature)) |
| 48 | +- `hookdeck_signature` (Attributes) Hookdeck Signature (see [below for nested schema](#nestedatt--auth_method--hookdeck_signature)) |
| 49 | +- `json` (String, Sensitive) Stringified JSON value for destination payload, used when Terraform provider hasn't supported the destination method on Hookdeck yet |
| 50 | +- `oauth2_authorization_code` (Attributes) OAuth2 Client Credentials (see [below for nested schema](#nestedatt--auth_method--oauth2_authorization_code)) |
| 51 | +- `oauth2_client_credentials` (Attributes) OAuth2 Client Credentials (see [below for nested schema](#nestedatt--auth_method--oauth2_client_credentials)) |
| 52 | + |
| 53 | +<a id="nestedatt--auth_method--api_key"></a> |
| 54 | +### Nested Schema for `auth_method.api_key` |
| 55 | + |
| 56 | +Read-Only: |
| 57 | + |
| 58 | +- `api_key` (String, Sensitive) API key for the API key auth |
| 59 | +- `key` (String) Key for the API key auth |
| 60 | +- `to` (String) must be one of ["header", "query"] |
| 61 | +Whether the API key should be sent as a header or a query parameter |
| 62 | + |
| 63 | + |
| 64 | +<a id="nestedatt--auth_method--aws_signature"></a> |
| 65 | +### Nested Schema for `auth_method.aws_signature` |
| 66 | + |
| 67 | +Read-Only: |
| 68 | + |
| 69 | +- `access_key_id` (String, Sensitive) AWS access key id |
| 70 | +- `secret_access_key` (String, Sensitive) AWS secret access key |
| 71 | + |
| 72 | + |
| 73 | +<a id="nestedatt--auth_method--basic_auth"></a> |
| 74 | +### Nested Schema for `auth_method.basic_auth` |
| 75 | + |
| 76 | +Read-Only: |
| 77 | + |
| 78 | +- `password` (String, Sensitive) Password for basic auth |
| 79 | +- `username` (String) Username for basic auth |
| 80 | + |
| 81 | + |
| 82 | +<a id="nestedatt--auth_method--bearer_token"></a> |
| 83 | +### Nested Schema for `auth_method.bearer_token` |
| 84 | + |
| 85 | +Read-Only: |
| 86 | + |
| 87 | +- `token` (String, Sensitive) Token for the bearer token auth |
| 88 | + |
| 89 | + |
| 90 | +<a id="nestedatt--auth_method--custom_signature"></a> |
| 91 | +### Nested Schema for `auth_method.custom_signature` |
| 92 | + |
| 93 | +Read-Only: |
| 94 | + |
| 95 | +- `key` (String) Key for the custom signature auth |
| 96 | +- `signing_secret` (String, Sensitive) Signing secret for the custom signature auth. If left empty a secret will be generated for you. |
| 97 | + |
| 98 | + |
| 99 | +<a id="nestedatt--auth_method--hookdeck_signature"></a> |
| 100 | +### Nested Schema for `auth_method.hookdeck_signature` |
| 101 | + |
| 102 | + |
| 103 | +<a id="nestedatt--auth_method--oauth2_authorization_code"></a> |
| 104 | +### Nested Schema for `auth_method.oauth2_authorization_code` |
| 105 | + |
| 106 | +Read-Only: |
| 107 | + |
| 108 | +- `auth_server` (String) URL of the auth server |
| 109 | +- `client_id` (String) Client id in the auth server |
| 110 | +- `client_secret` (String, Sensitive) Client secret in the auth server |
| 111 | +- `refresh_token` (String, Sensitive) Refresh token already returned by the auth server |
| 112 | +- `scope` (String) Scope to access |
| 113 | + |
| 114 | + |
| 115 | +<a id="nestedatt--auth_method--oauth2_client_credentials"></a> |
| 116 | +### Nested Schema for `auth_method.oauth2_client_credentials` |
| 117 | + |
| 118 | +Read-Only: |
| 119 | + |
| 120 | +- `auth_server` (String) URL of the auth server |
| 121 | +- `authentication_type` (String) must be one of [basic, bearer] |
| 122 | +Basic (default) or Bearer Authentication |
| 123 | +- `client_id` (String) Client id in the auth server |
| 124 | +- `client_secret` (String, Sensitive) Client secret in the auth server |
| 125 | +- `scope` (String) Scope to access |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | +<a id="nestedatt--rate_limit"></a> |
| 130 | +### Nested Schema for `rate_limit` |
| 131 | + |
| 132 | +Read-Only: |
| 133 | + |
| 134 | +- `limit` (Number) Limit event attempts to receive per period. Max value is workspace plan's max attempts thoughput. |
| 135 | +- `period` (String) must be one of ["second", "minute", "hour"] |
| 136 | +Period to rate limit attempts |
0 commit comments