# `Twilio.Schemas.NewKey`

## Fields

  * `date_created` - The date and time in GMT that the API Key was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  * `date_updated` - The date and time in GMT that the new API Key was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  * `friendly_name` - The string that you assigned to describe the resource.
  * `secret` - The secret your application uses to sign Access Tokens and to authenticate to the REST API (you will use this as the basic-auth `password`). **Note that for security reasons, this field is ONLY returned when the API Key is first created.**
  * `sid` - The unique string that that we created to identify the NewKey resource. You will use this as the basic-auth `user` when authenticating to the API.

# `t`

```elixir
@type t() :: %Twilio.Schemas.NewKey{
  __extra__: %{optional(String.t()) =&gt; term()},
  __present__: [atom()],
  date_created: String.t() | nil,
  date_updated: String.t() | nil,
  friendly_name: String.t() | nil,
  secret: String.t() | nil,
  sid: String.t() | nil
}
```

# `decode`

```elixir
@spec decode(term()) :: t() | term()
```

Decodes parsed JSON into this struct.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
