Viewing docs for Fastly v12.2.1
published on Saturday, Jun 6, 2026 by Pulumi
published on Saturday, Jun 6, 2026 by Pulumi
Viewing docs for Fastly v12.2.1
published on Saturday, Jun 6, 2026 by Pulumi
published on Saturday, Jun 6, 2026 by Pulumi
Use this data source to get a list of Fastly TSIG Keys.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const example = fastly.getTsigKeys({});
export const fastlyTsigKeysAll = example.then(example => example.keys);
import pulumi
import pulumi_fastly as fastly
example = fastly.get_tsig_keys()
pulumi.export("fastlyTsigKeysAll", example.keys)
package main
import (
"github.com/pulumi/pulumi-fastly/sdk/v12/go/fastly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := fastly.GetTsigKeys(ctx, &fastly.GetTsigKeysArgs{}, nil)
if err != nil {
return err
}
ctx.Export("fastlyTsigKeysAll", example.Keys)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var example = Fastly.GetTsigKeys.Invoke();
return new Dictionary<string, object?>
{
["fastlyTsigKeysAll"] = example.Apply(getTsigKeysResult => getTsigKeysResult.Keys),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fastly.FastlyFunctions;
import com.pulumi.fastly.inputs.GetTsigKeysArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = FastlyFunctions.getTsigKeys(GetTsigKeysArgs.builder()
.build());
ctx.export("fastlyTsigKeysAll", example.keys());
}
}
variables:
example:
fn::invoke:
function: fastly:getTsigKeys
arguments: {}
outputs:
fastlyTsigKeysAll: ${example.keys}
pulumi {
required_providers {
fastly = {
source = "pulumi/fastly"
}
}
}
data "fastly_gettsigkeys" "example" {
}
output "fastlyTsigKeysAll" {
value = data.fastly_gettsigkeys.example.keys
}
Using getTsigKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTsigKeys(args: GetTsigKeysArgs, opts?: InvokeOptions): Promise<GetTsigKeysResult>
function getTsigKeysOutput(args: GetTsigKeysOutputArgs, opts?: InvokeOptions): Output<GetTsigKeysResult>def get_tsig_keys(total: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetTsigKeysResult
def get_tsig_keys_output(total: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTsigKeysResult]func GetTsigKeys(ctx *Context, args *GetTsigKeysArgs, opts ...InvokeOption) (*GetTsigKeysResult, error)
func GetTsigKeysOutput(ctx *Context, args *GetTsigKeysOutputArgs, opts ...InvokeOption) GetTsigKeysResultOutput> Note: This function is named GetTsigKeys in the Go SDK.
public static class GetTsigKeys
{
public static Task<GetTsigKeysResult> InvokeAsync(GetTsigKeysArgs args, InvokeOptions? opts = null)
public static Output<GetTsigKeysResult> Invoke(GetTsigKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTsigKeysResult> getTsigKeys(GetTsigKeysArgs args, InvokeOptions options)
public static Output<GetTsigKeysResult> getTsigKeys(GetTsigKeysArgs args, InvokeOptions options)
fn::invoke:
function: fastly:index/getTsigKeys:getTsigKeys
arguments:
# arguments dictionarydata "fastly_gettsigkeys" "name" {
# arguments
}The following arguments are supported:
- Total int
- The total number of TSIG keys returned.
- Total int
- The total number of TSIG keys returned.
- total number
- The total number of TSIG keys returned.
- total Integer
- The total number of TSIG keys returned.
- total number
- The total number of TSIG keys returned.
- total int
- The total number of TSIG keys returned.
- total Number
- The total number of TSIG keys returned.
getTsigKeys Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Keys
List<Get
Tsig Keys Key> - A list of TSIG keys.
- Total int
- The total number of TSIG keys returned.
- Id string
- The provider-assigned unique ID for this managed resource.
- Keys
[]Get
Tsig Keys Key - A list of TSIG keys.
- Total int
- The total number of TSIG keys returned.
- id string
- The provider-assigned unique ID for this managed resource.
- keys list(object)
- A list of TSIG keys.
- total number
- The total number of TSIG keys returned.
- id String
- The provider-assigned unique ID for this managed resource.
- keys
List<Get
Tsig Keys Key> - A list of TSIG keys.
- total Integer
- The total number of TSIG keys returned.
- id string
- The provider-assigned unique ID for this managed resource.
- keys
Get
Tsig Keys Key[] - A list of TSIG keys.
- total number
- The total number of TSIG keys returned.
- id str
- The provider-assigned unique ID for this managed resource.
- keys
Sequence[Get
Tsig Keys Key] - A list of TSIG keys.
- total int
- The total number of TSIG keys returned.
- id String
- The provider-assigned unique ID for this managed resource.
- keys List<Property Map>
- A list of TSIG keys.
- total Number
- The total number of TSIG keys returned.
Supporting Types
GetTsigKeysKey
- Algorithm string
- The algorithm of the TSIG key.
- Description string
- A freeform descriptive note.
- Id string
- TSIG Key Identifier (UUID).
- Name string
- The name of the TSIG key.
- Algorithm string
- The algorithm of the TSIG key.
- Description string
- A freeform descriptive note.
- Id string
- TSIG Key Identifier (UUID).
- Name string
- The name of the TSIG key.
- algorithm string
- The algorithm of the TSIG key.
- description string
- A freeform descriptive note.
- id string
- TSIG Key Identifier (UUID).
- name string
- The name of the TSIG key.
- algorithm String
- The algorithm of the TSIG key.
- description String
- A freeform descriptive note.
- id String
- TSIG Key Identifier (UUID).
- name String
- The name of the TSIG key.
- algorithm string
- The algorithm of the TSIG key.
- description string
- A freeform descriptive note.
- id string
- TSIG Key Identifier (UUID).
- name string
- The name of the TSIG key.
- algorithm str
- The algorithm of the TSIG key.
- description str
- A freeform descriptive note.
- id str
- TSIG Key Identifier (UUID).
- name str
- The name of the TSIG key.
- algorithm String
- The algorithm of the TSIG key.
- description String
- A freeform descriptive note.
- id String
- TSIG Key Identifier (UUID).
- name String
- The name of the TSIG key.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastlyTerraform Provider.
Viewing docs for Fastly v12.2.1
published on Saturday, Jun 6, 2026 by Pulumi
published on Saturday, Jun 6, 2026 by Pulumi