1. Packages
  2. Packages
  3. HashiCorp Vault Provider
  4. API Docs
  5. getPluginRuntimes
Viewing docs for HashiCorp Vault v7.11.1
published on Tuesday, Aug 11, 2026 by Pulumi
vault logo vault logo
Viewing docs for HashiCorp Vault v7.11.1
published on Tuesday, Aug 11, 2026 by Pulumi

    Lists plugin runtimes registered in Vault’s plugin runtimes catalog.

    Important This data source requires Vault 1.15 or later.

    Example Usage

    List all plugin runtimes

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const all = vault.getPluginRuntimes({});
    
    import pulumi
    import pulumi_vault as vault
    
    all = vault.get_plugin_runtimes()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vault.GetPluginRuntimes(ctx, &vault.GetPluginRuntimesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vault = Pulumi.Vault;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Vault.GetPluginRuntimes.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.VaultFunctions;
    import com.pulumi.vault.inputs.GetPluginRuntimesArgs;
    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 all = VaultFunctions.getPluginRuntimes(GetPluginRuntimesArgs.builder()
                .build());
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: vault:getPluginRuntimes
          arguments: {}
    
    pulumi {
      required_providers {
        vault = {
          source = "pulumi/vault"
        }
      }
    }
    
    data "vault_getpluginruntimes" "all" {
    }
    

    Filter by runtime type

    import * as pulumi from "@pulumi/pulumi";
    import * as vault from "@pulumi/vault";
    
    const containers = vault.getPluginRuntimes({
        type: "container",
    });
    
    import pulumi
    import pulumi_vault as vault
    
    containers = vault.get_plugin_runtimes(type="container")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-vault/sdk/v7/go/vault"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vault.GetPluginRuntimes(ctx, &vault.GetPluginRuntimesArgs{
    			Type: pulumi.StringRef("container"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vault = Pulumi.Vault;
    
    return await Deployment.RunAsync(() => 
    {
        var containers = Vault.GetPluginRuntimes.Invoke(new()
        {
            Type = "container",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vault.VaultFunctions;
    import com.pulumi.vault.inputs.GetPluginRuntimesArgs;
    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 containers = VaultFunctions.getPluginRuntimes(GetPluginRuntimesArgs.builder()
                .type("container")
                .build());
    
        }
    }
    
    variables:
      containers:
        fn::invoke:
          function: vault:getPluginRuntimes
          arguments:
            type: container
    
    pulumi {
      required_providers {
        vault = {
          source = "pulumi/vault"
        }
      }
    }
    
    data "vault_getpluginruntimes" "containers" {
      type = "container"
    }
    

    Using getPluginRuntimes

    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 getPluginRuntimes(args: GetPluginRuntimesArgs, opts?: InvokeOptions): Promise<GetPluginRuntimesResult>
    function getPluginRuntimesOutput(args: GetPluginRuntimesOutputArgs, opts?: InvokeOptions): Output<GetPluginRuntimesResult>
    def get_plugin_runtimes(namespace: Optional[str] = None,
                            type: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPluginRuntimesResult
    def get_plugin_runtimes_output(namespace: pulumi.Input[Optional[str]] = None,
                            type: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPluginRuntimesResult]
    func GetPluginRuntimes(ctx *Context, args *GetPluginRuntimesArgs, opts ...InvokeOption) (*GetPluginRuntimesResult, error)
    func GetPluginRuntimesOutput(ctx *Context, args *GetPluginRuntimesOutputArgs, opts ...InvokeOption) GetPluginRuntimesResultOutput

    > Note: This function is named GetPluginRuntimes in the Go SDK.

    public static class GetPluginRuntimes 
    {
        public static Task<GetPluginRuntimesResult> InvokeAsync(GetPluginRuntimesArgs args, InvokeOptions? opts = null)
        public static Output<GetPluginRuntimesResult> Invoke(GetPluginRuntimesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPluginRuntimesResult> getPluginRuntimes(GetPluginRuntimesArgs args, InvokeOptions options)
    public static Output<GetPluginRuntimesResult> getPluginRuntimes(GetPluginRuntimesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vault:index/getPluginRuntimes:getPluginRuntimes
      arguments:
        # arguments dictionary
    data "vault_get_plugin_runtimes" "name" {
        # arguments
    }

    The following arguments are supported:

    Namespace string
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Type string
    The plugin runtime type to list. Currently only container is supported.
    Namespace string
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    Type string
    The plugin runtime type to list. Currently only container is supported.
    namespace string
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    type string
    The plugin runtime type to list. Currently only container is supported.
    namespace String
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    type String
    The plugin runtime type to list. Currently only container is supported.
    namespace string
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    type string
    The plugin runtime type to list. Currently only container is supported.
    namespace str
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    type str
    The plugin runtime type to list. Currently only container is supported.
    namespace String
    The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.
    type String
    The plugin runtime type to list. Currently only container is supported.

    getPluginRuntimes Result

    The following output properties are available:

    Id string
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    Runtimes List<GetPluginRuntimesRuntime>
    List of plugin runtimes. Each object contains:
    Namespace string
    Type string
    The runtime type.
    Id string
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    Runtimes []GetPluginRuntimesRuntime
    List of plugin runtimes. Each object contains:
    Namespace string
    Type string
    The runtime type.
    id string
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    runtimes list(object)
    List of plugin runtimes. Each object contains:
    namespace string
    type string
    The runtime type.
    id String
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    runtimes List<GetPluginRuntimesRuntime>
    List of plugin runtimes. Each object contains:
    namespace String
    type String
    The runtime type.
    id string
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    runtimes GetPluginRuntimesRuntime[]
    List of plugin runtimes. Each object contains:
    namespace string
    type string
    The runtime type.
    id str
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    runtimes Sequence[GetPluginRuntimesRuntime]
    List of plugin runtimes. Each object contains:
    namespace str
    type str
    The runtime type.
    id String
    Unique identifier for this data source. Values are:

    • plugin-runtimes when listing all runtime types.
    • plugin-runtimes/{type} when type is provided.
    runtimes List<Property Map>
    List of plugin runtimes. Each object contains:
    namespace String
    type String
    The runtime type.

    Supporting Types

    GetPluginRuntimesRuntime

    CgroupParent string
    The parent cgroup for plugin containers, when set.
    CpuNanos int
    CPU quota in nanoseconds per second, when set.
    MemoryBytes int
    Memory limit in bytes, when set.
    Name string
    The runtime name.
    OciRuntime string
    The OCI runtime used for plugin containers, when set.
    Rootless bool
    Whether the runtime runs as a non-root user.
    Type string
    The plugin runtime type to list. Currently only container is supported.
    CgroupParent string
    The parent cgroup for plugin containers, when set.
    CpuNanos int
    CPU quota in nanoseconds per second, when set.
    MemoryBytes int
    Memory limit in bytes, when set.
    Name string
    The runtime name.
    OciRuntime string
    The OCI runtime used for plugin containers, when set.
    Rootless bool
    Whether the runtime runs as a non-root user.
    Type string
    The plugin runtime type to list. Currently only container is supported.
    cgroup_parent string
    The parent cgroup for plugin containers, when set.
    cpu_nanos number
    CPU quota in nanoseconds per second, when set.
    memory_bytes number
    Memory limit in bytes, when set.
    name string
    The runtime name.
    oci_runtime string
    The OCI runtime used for plugin containers, when set.
    rootless bool
    Whether the runtime runs as a non-root user.
    type string
    The plugin runtime type to list. Currently only container is supported.
    cgroupParent String
    The parent cgroup for plugin containers, when set.
    cpuNanos Integer
    CPU quota in nanoseconds per second, when set.
    memoryBytes Integer
    Memory limit in bytes, when set.
    name String
    The runtime name.
    ociRuntime String
    The OCI runtime used for plugin containers, when set.
    rootless Boolean
    Whether the runtime runs as a non-root user.
    type String
    The plugin runtime type to list. Currently only container is supported.
    cgroupParent string
    The parent cgroup for plugin containers, when set.
    cpuNanos number
    CPU quota in nanoseconds per second, when set.
    memoryBytes number
    Memory limit in bytes, when set.
    name string
    The runtime name.
    ociRuntime string
    The OCI runtime used for plugin containers, when set.
    rootless boolean
    Whether the runtime runs as a non-root user.
    type string
    The plugin runtime type to list. Currently only container is supported.
    cgroup_parent str
    The parent cgroup for plugin containers, when set.
    cpu_nanos int
    CPU quota in nanoseconds per second, when set.
    memory_bytes int
    Memory limit in bytes, when set.
    name str
    The runtime name.
    oci_runtime str
    The OCI runtime used for plugin containers, when set.
    rootless bool
    Whether the runtime runs as a non-root user.
    type str
    The plugin runtime type to list. Currently only container is supported.
    cgroupParent String
    The parent cgroup for plugin containers, when set.
    cpuNanos Number
    CPU quota in nanoseconds per second, when set.
    memoryBytes Number
    Memory limit in bytes, when set.
    name String
    The runtime name.
    ociRuntime String
    The OCI runtime used for plugin containers, when set.
    rootless Boolean
    Whether the runtime runs as a non-root user.
    type String
    The plugin runtime type to list. Currently only container is supported.

    Package Details

    Repository
    Vault pulumi/pulumi-vault
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vault Terraform Provider.
    vault logo vault logo
    Viewing docs for HashiCorp Vault v7.11.1
    published on Tuesday, Aug 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial