# IdentityUniversalAuthClientSecret

> Resource IdentityUniversalAuthClientSecret in pulumi-infisical.

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

Resource IdentityUniversalAuthClientSecret in pulumi-infisical.

Pulumi type: `infisical:index/identityUniversalAuthClientSecret:IdentityUniversalAuthClientSecret`.

`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.IdentityUniversalAuthClientSecret(
  "identityUniversalAuthClientSecret",
  {
    identityId: "<identityId>",
  },
)
```

## Arguments

| Property            | Type     | Required | Description                                                                                                              |
| ------------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------ |
| `description`       | `string` | no       | The description of the client secret.                                                                                    |
| `identityId`        | `string` | yes      | The ID of the identity to create a client secret for                                                                     |
| `numberOfUsesLimit` | `number` | no       | The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses. Default: 0 |
| `ttl`               | `number` | no       | The lifetime for the client secret in seconds. Default: 0 - not expiring                                                 |

## Outputs

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

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