---
title: Keys
---

[Skip to content](#_top)

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

[Stream](https://developers.cloudflare.com/api/python/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/python/resources/stream/subresources/keys/methods/get)

stream.keys.get(KeyGetParams\*\*kwargs) -> SyncSinglePage\[[KeyGetResponse](<https://developers.cloudflare.com/api/python/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20key_get_response%20%3E%20(schema)>)]

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

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

stream.keys.create(KeyCreateParams\*\*kwargs) -> [Keys](<https://developers.cloudflare.com/api/python/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)>)

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

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

stream.keys.delete(stridentifier, KeyDeleteParams\*\*kwargs) -> [KeyDeleteResponse](<https://developers.cloudflare.com/api/python/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>

class Keys: …

</summary>

id: Optional\[str]

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: Optional\[datetime]

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: Optional\[str]

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: Optional\[str]

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>

class KeyGetResponse: …

</summary>

id: Optional\[str]

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: Optional\[datetime]

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: Optional\[str]

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)>)

str

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