Viewing docs for vkcs 0.19.0
published on Tuesday, Oct 27, 2026 by vk-cs
published on Tuesday, Oct 27, 2026 by vk-cs
vkcs
Viewing docs for vkcs 0.19.0
published on Tuesday, Oct 27, 2026 by vk-cs
published on Tuesday, Oct 27, 2026 by vk-cs
Data source containing list of KMS secrets
This data source has no configurable arguments. secrets and secrets_count are computed when the data source is read.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const secrets = vkcs.getKmsSecrets({});
export const kmsSecrets = secrets.then(secrets => secrets.secrets);
import pulumi
import pulumi_vkcs as vkcs
secrets = vkcs.get_kms_secrets()
pulumi.export("kmsSecrets", secrets.secrets)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
secrets, err := vkcs.GetKmsSecrets(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("kmsSecrets", secrets.Secrets)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var secrets = Vkcs.GetKmsSecrets.Invoke();
return new Dictionary<string, object?>
{
["kmsSecrets"] = secrets.Apply(getKmsSecretsResult => getKmsSecretsResult.Secrets),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import java.util.List;
import java.util.ArrayList;
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 secrets = VkcsFunctions.getKmsSecrets(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
ctx.export("kmsSecrets", secrets.secrets());
}
}
variables:
secrets:
fn::invoke:
function: vkcs:getKmsSecrets
arguments: {}
outputs:
kmsSecrets: ${secrets.secrets}
Example coming soon!
Using getKmsSecrets
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 getKmsSecrets(opts?: InvokeOptions): Promise<GetKmsSecretsResult>
function getKmsSecretsOutput(opts?: InvokeOutputOptions): Output<GetKmsSecretsResult>def get_kms_secrets(opts: Optional[InvokeOptions] = None) -> GetKmsSecretsResult
def get_kms_secrets_output(opts: Optional[InvokeOutputOptions] = None) -> Output[GetKmsSecretsResult]func GetKmsSecrets(ctx *Context, opts ...InvokeOption) (*GetKmsSecretsResult, error)
func GetKmsSecretsOutput(ctx *Context, opts ...InvokeOption) GetKmsSecretsResultOutput> Note: This function is named GetKmsSecrets in the Go SDK.
public static class GetKmsSecrets
{
public static Task<GetKmsSecretsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetKmsSecretsResult> Invoke(InvokeOptions? opts = null)
public static Output<GetKmsSecretsResult> Invoke(InvokeOutputOptions opts)
}public static CompletableFuture<GetKmsSecretsResult> getKmsSecrets(InvokeOptions options)
public static Output<GetKmsSecretsResult> getKmsSecrets(InvokeOptions options)
public static Output<GetKmsSecretsResult> getKmsSecrets(InvokeOutputOptions options)
fn::invoke:
function: vkcs:index/getKmsSecrets:getKmsSecrets
arguments:
# arguments dictionarydata "vkcs_get_kms_secrets" "name" {
# arguments
}getKmsSecrets Result
The following output properties are available:
- Id string
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- Secrets List<string>
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- Secrets
Count double - number → Number of secrets in the returned list.
- Id string
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- Secrets []string
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- Secrets
Count float64 - number → Number of secrets in the returned list.
- id string
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- secrets list(string)
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- secrets_
count number - number → Number of secrets in the returned list.
- id String
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- secrets List<String>
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- secrets
Count Double - number → Number of secrets in the returned list.
- id string
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- secrets string[]
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- secrets
Count number - number → Number of secrets in the returned list.
- id str
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- secrets Sequence[str]
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- secrets_
count float - number → Number of secrets in the returned list.
- id String
- string → Hexadecimal SHA-256 hash derived from the first ten returned entries (or all entries if fewer than ten) and the total entry count.
- secrets List<String>
- list of string → Paths of the secrets returned by KMS. An empty response produces an empty list.
- secrets
Count Number - number → Number of secrets in the returned list.
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcsTerraform Provider.
vkcs
Viewing docs for vkcs 0.19.0
published on Tuesday, Oct 27, 2026 by vk-cs
published on Tuesday, Oct 27, 2026 by vk-cs