---
title: Keys
---

[Skip to content](#_top)

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

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

client.Stream.Keys.Get(ctx, query) (\*SinglePage\[[KeyGetResponse](<https://developers.cloudflare.com/api/go/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20KeyGetResponse%20%3E%20(schema)>)], error)

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

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

client.Stream.Keys.New(ctx, body) (\*[Keys](<https://developers.cloudflare.com/api/go/resources/stream#(resource)%20stream.keys%20%3E%20(model)%20keys%20%3E%20(schema)>), error)

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

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

client.Stream.Keys.Delete(ctx, identifier, body) (\*string, error)

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

##### ModelsExpand Collapse

<details>

<summary>

type Keys struct{…}

</summary>

ID stringOptional

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 TimeOptional

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 stringOptional

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 stringOptional

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