# The Ephemeral Key object

### The Ephemeral Key object

```json
{
  "id": "ephkey_1Mr6PhLkdIwHu7ix9Al0eucz",
  "object": "ephemeral_key",
  "associated_objects": [
    {
      "type": "customer",
      "id": "cus_NcCEBjJZgYGgljz"
    }
  ],
  "created": 1680226347,
  "expires": 1680229947,
  "livemode": false,
  "secret": "ek_test_YWNjdF8xTTJKVGtMa2RJd0h1N2l4LDJTWXVEUUY2c0hZTllRc0dGb2hVanBXRktQTlZoNHc_00TkfmS8Az"
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string, value is "ephemeral_key")
  String representing the object’s type. Objects of the same type share the same value.

- `created` (timestamp)
  Time at which the object was created. Measured in seconds since the Unix epoch.

- `expires` (timestamp)
  Time at which the key will expire. Measured in seconds since the Unix epoch.

- `livemode` (boolean)
  If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.

- `secret` (string)
  The key’s secret. You can use this value to make authorized requests to the Stripe API.
