---
title: Keys
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Stream](https://developers.cloudflare.com/api/typescript/resources/stream)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Keys

##### [List signing keys](https://developers.cloudflare.com/api/typescript/resources/stream/subresources/keys/methods/get)

client.stream.keys.get(KeyGetParams {account\_id } params, RequestOptionsoptions?): SinglePage< [KeyGetResponse](<https://developers.cloudflare.com/api/typescript/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20key_get_response%20%3E%20(schema)>) {id, created, key\_id } >

GET/accounts/{account\_id}/stream/keys

##### [Create signing keys](https://developers.cloudflare.com/api/typescript/resources/stream/subresources/keys/methods/create)

client.stream.keys.create(KeyCreateParams {account\_id } params, RequestOptionsoptions?): [Keys](<https://developers.cloudflare.com/api/typescript/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)>) {id, created, jwk, pem }

POST/accounts/{account\_id}/stream/keys

##### [Delete signing keys](https://developers.cloudflare.com/api/typescript/resources/stream/subresources/keys/methods/delete)

client.stream.keys.delete(stringidentifier, KeyDeleteParams {account\_id } params, RequestOptionsoptions?): [KeyDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20key_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/stream/keys/{identifier}

##### ModelsExpand Collapse

<details>

<summary>

Keys {id, created, jwk, pem }

</summary>

id?: string

Identifier.

maxLength32

<a href="#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created?: string

The date and time a signing key was created.

formatdate-time

<a href="#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

jwk?: string

The signing key in JWK format.

<a href="#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)%20%3E%20(property)%20jwk">Link to this property</a>

pem?: string

The signing key in PEM format.

<a href="#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)%20%3E%20(property)%20pem">Link to this property</a>

</details>

[Link to this property](<#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)>)

<details>

<summary>

KeyGetResponse {id, created, key\_id }

</summary>

id?: string

Identifier.

maxLength32

<a href="#(resource)%20stream.keys%20%3E%20(model)%20key_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created?: string

The date and time a signing key was created.

formatdate-time

<a href="#(resource)%20stream.keys%20%3E%20(model)%20key_get_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

key\_id?: string

The unique identifier for the signing key.

<a href="#(resource)%20stream.keys%20%3E%20(model)%20key_get_response%20%3E%20(schema)%20%3E%20(property)%20key_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20stream.keys%20%3E%20(model)%20key_get_response%20%3E%20(schema)>)

KeyDeleteResponse = string

[Link to this property](<#(resource)%20stream.keys%20%3E%20(model)%20key_delete_response%20%3E%20(schema)>)