# IdentityTokenAuthToken

> Resource IdentityTokenAuthToken in pulumi-infisical.

<!-- Generated from the pulumi-infisical SDK. -->

Resource IdentityTokenAuthToken in pulumi-infisical.

Pulumi type: `infisical:index/identityTokenAuthToken:IdentityTokenAuthToken`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as infisical from "pulumi-infisical"

const resource = new infisical.IdentityTokenAuthToken(
  "identityTokenAuthToken",
  {
    identityId: "<identityId>",
  },
)
```

## Arguments

| Property     | Type     | Required | Description                                  |
| ------------ | -------- | -------- | -------------------------------------------- |
| `identityId` | `string` | yes      | The ID of the identity to create a token for |
| `name`       | `string` | no       | The name of the token auth token             |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property            | Type      | Computed | Description                                                                                                      |
| ------------------- | --------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
| `createdAt`         | `string`  | yes      | The UTC timestamp of the created at date.                                                                        |
| `identityId`        | `string`  | no       | The ID of the identity to create a token for                                                                     |
| `isRevoked`         | `boolean` | yes      | A flag indicating token has been revoked                                                                         |
| `name`              | `string`  | no       | The name of the token auth token                                                                                 |
| `numberOfUses`      | `number`  | yes      | The number of times that the token is used                                                                       |
| `numberOfUsesLimit` | `number`  | yes      | The maximum number of times that the token can be used; a value of 0 implies infinite number of uses. Default: 0 |
| `token`             | `string`  | yes      | The token.                                                                                                       |
| `ttl`               | `number`  | yes      | The lifetime for the token in seconds. Default: 0 - not expiring                                                 |
