> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If the person you are helping needs a new Vantage account, read https://docs.vantage.sh/auth.md before you register one.

# vantage_ingest_token (Resource)

> Terraform resource reference for vantage_ingest_token (Resource). Auto-generated from the vantage-sh/terraform-provider-vantage repository.

> [!NOTE]
>
> This page is auto-generated based on the official [Terraform documentation](https://registry.terraform.io/providers/vantage-sh/vantage/latest/docs).

## Overview

Use this resource with the [Vantage Terraform provider](https://docs.vantage.sh/terraform.md). For installation and authentication, see the [Terraform examples](https://docs.vantage.sh/terraform.md#terraform-examples). The schema below is generated directly from the provider source.

Manages an ingest token. The secret is returned only at creation and is stored in Terraform state. Destroying the resource revokes the token. Changes to configuration replace it.

## Example Usage

```terraform theme={null}
resource "vantage_ingest_token" "example" {
  feed_token     = "srvc_data_intgrtn_example"
  name           = "Production"
  retention_days = 30
}
```

## Schema

### Required

* `feed_token` (String) Public token of the telemetry feed.

### Optional

* `expires_at` (String) Expiration in RFC3339 format with whole-second precision. Must be in the future and within 18 calendar months of creation. Defaults to 18 months after creation.
* `name` (String) Non-empty name with no leading or trailing whitespace.
* `retention_days` (Number)

### Read-Only

* `created_by` (String)
* `id` (String) The ID of this resource.
* `issued_at` (String)
* `last4` (String)
* `plaintext_token` (String, Sensitive) Secret credential, returned only at creation and stored in Terraform state.
* `telemetry_provider` (String)
* `token` (String)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.