Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 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 dictionaryThe following arguments are supported:
- Secret
Id double
- Secret
Id float64
- secret
Id Double
- secret
Id number
- secret_
id float
- secret
Id Number
getFastedgeSecret Result
The following output properties are available:
- App
Count 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.
- Secret
Id double - Secret
Slots List<GetFastedge Secret Secret Slot> - A list of secret slots associated with this secret.
- App
Count 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.
- Secret
Id float64 - Secret
Slots []GetFastedge Secret Secret Slot - A list of secret slots associated with this secret.
- app
Count 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.
- secret
Id Double - secret
Slots List<GetFastedge Secret Secret Slot> - A list of secret slots associated with this secret.
- app
Count 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.
- secret
Id number - secret
Slots GetFastedge Secret Secret Slot[] - 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[GetFastedge Secret Secret Slot] - A list of secret slots associated with this secret.
- app
Count 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.
- secret
Id Number - secret
Slots 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
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
