---
layout: "fastly"
page_title: "Fastly: fastly_tsig_keys"
sidebar_current: "docs-fastly-datasource-fastly_tsig_keys"
description: |-
  Get a list of Fastly TSIG Keys.
---

# fastly_tsig_keys

Use this data source to get a list of Fastly TSIG Keys.

## Example Usage

```terraform
data "fastly_tsig_keys" "example" {}

output "fastly_tsig_keys_all" {
  value = data.fastly_tsig_keys.example.keys
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `total` (Number) The total number of TSIG keys returned.

### Read-Only

- `id` (String) The ID of this resource.
- `keys` (Set of Object) A list of TSIG keys. (see [below for nested schema](#nestedatt--keys))

<a id="nestedatt--keys"></a>
### Nested Schema for `keys`

Read-Only:

- `algorithm` (String)
- `description` (String)
- `id` (String)
- `name` (String)
