1. Packages
  2. Gcore Provider
  3. API Docs
  4. getFastedgeSecret
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core

    FastEdge secrets store sensitive values such as API keys and tokens that can be referenced by FastEdge applications.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleFastedgeSecret = gcore.getFastedgeSecret({
        secretId: 0,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_fastedge_secret = gcore.get_fastedge_secret(secret_id=0)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.LookupFastedgeSecret(ctx, &gcore.LookupFastedgeSecretArgs{
    			SecretId: 0,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleFastedgeSecret = Gcore.GetFastedgeSecret.Invoke(new()
        {
            SecretId = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetFastedgeSecretArgs;
    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 exampleFastedgeSecret = GcoreFunctions.getFastedgeSecret(GetFastedgeSecretArgs.builder()
                .secretId(0)
                .build());
    
        }
    }
    
    variables:
      exampleFastedgeSecret:
        fn::invoke:
          function: gcore:getFastedgeSecret
          arguments:
            secretId: 0
    

    Using getFastedgeSecret

    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 getFastedgeSecret(args: GetFastedgeSecretArgs, opts?: InvokeOptions): Promise<GetFastedgeSecretResult>
    function getFastedgeSecretOutput(args: GetFastedgeSecretOutputArgs, opts?: InvokeOptions): Output<GetFastedgeSecretResult>
    def get_fastedge_secret(secret_id: Optional[float] = None,
                            opts: Optional[InvokeOptions] = None) -> GetFastedgeSecretResult
    def get_fastedge_secret_output(secret_id: Optional[pulumi.Input[float]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetFastedgeSecretResult]
    func LookupFastedgeSecret(ctx *Context, args *LookupFastedgeSecretArgs, opts ...InvokeOption) (*LookupFastedgeSecretResult, error)
    func LookupFastedgeSecretOutput(ctx *Context, args *LookupFastedgeSecretOutputArgs, opts ...InvokeOption) LookupFastedgeSecretResultOutput

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

    public static class GetFastedgeSecret 
    {
        public static Task<GetFastedgeSecretResult> InvokeAsync(GetFastedgeSecretArgs args, InvokeOptions? opts = null)
        public static Output<GetFastedgeSecretResult> Invoke(GetFastedgeSecretInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFastedgeSecretResult> getFastedgeSecret(GetFastedgeSecretArgs args, InvokeOptions options)
    public static Output<GetFastedgeSecretResult> getFastedgeSecret(GetFastedgeSecretArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getFastedgeSecret:getFastedgeSecret
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SecretId double
    SecretId float64
    secretId Double
    secretId number
    secret_id float
    secretId Number

    getFastedgeSecret Result

    The following output properties are available:

    AppCount double
    The number of applications that use this secret.
    Comment string
    A description or comment about the secret.
    Id double
    The ID of this resource.
    Name string
    The unique name of the secret.
    SecretId double
    SecretSlots List<GetFastedgeSecretSecretSlot>
    A list of secret slots associated with this secret.
    AppCount float64
    The number of applications that use this secret.
    Comment string
    A description or comment about the secret.
    Id float64
    The ID of this resource.
    Name string
    The unique name of the secret.
    SecretId float64
    SecretSlots []GetFastedgeSecretSecretSlot
    A list of secret slots associated with this secret.
    appCount Double
    The number of applications that use this secret.
    comment String
    A description or comment about the secret.
    id Double
    The ID of this resource.
    name String
    The unique name of the secret.
    secretId Double
    secretSlots List<GetFastedgeSecretSecretSlot>
    A list of secret slots associated with this secret.
    appCount number
    The number of applications that use this secret.
    comment string
    A description or comment about the secret.
    id number
    The ID of this resource.
    name string
    The unique name of the secret.
    secretId number
    secretSlots GetFastedgeSecretSecretSlot[]
    A list of secret slots associated with this secret.
    app_count float
    The number of applications that use this secret.
    comment str
    A description or comment about the secret.
    id float
    The ID of this resource.
    name str
    The unique name of the secret.
    secret_id float
    secret_slots Sequence[GetFastedgeSecretSecretSlot]
    A list of secret slots associated with this secret.
    appCount Number
    The number of applications that use this secret.
    comment String
    A description or comment about the secret.
    id Number
    The ID of this resource.
    name String
    The unique name of the secret.
    secretId Number
    secretSlots List<Property Map>
    A list of secret slots associated with this secret.

    Supporting Types

    GetFastedgeSecretSecretSlot

    Checksum string
    SHA-256 hash of the decrypted value for integrity verification (auto-generated)
    Slot double
    Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    Value string
    The plaintext secret value. Will be encrypted with AES-256-GCM before storage.
    Checksum string
    SHA-256 hash of the decrypted value for integrity verification (auto-generated)
    Slot float64
    Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    Value string
    The plaintext secret value. Will be encrypted with AES-256-GCM before storage.
    checksum String
    SHA-256 hash of the decrypted value for integrity verification (auto-generated)
    slot Double
    Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    value String
    The plaintext secret value. Will be encrypted with AES-256-GCM before storage.
    checksum string
    SHA-256 hash of the decrypted value for integrity verification (auto-generated)
    slot number
    Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    value string
    The plaintext secret value. Will be encrypted with AES-256-GCM before storage.
    checksum str
    SHA-256 hash of the decrypted value for integrity verification (auto-generated)
    slot float
    Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    value str
    The plaintext secret value. Will be encrypted with AES-256-GCM before storage.
    checksum String
    SHA-256 hash of the decrypted value for integrity verification (auto-generated)
    slot Number
    Unix timestamp (seconds since epoch) indicating when this secret version becomes active. Use for time-based secret rotation.
    value String
    The plaintext secret value. Will be encrypted with AES-256-GCM before storage.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.3
    published on Monday, Mar 30, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.