Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
published on Wednesday, Jul 22, 2026 by Pulumiverse
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
published on Wednesday, Jul 22, 2026 by Pulumiverse
Provides information about an existing Feature Flag SDK Key.
Vercel only returns the cleartext SDK key and connection string at creation time, so this data source exposes lookup metadata only.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumiverse/vercel";
const example = vercel.getFeatureFlagSdkKey({
projectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
id: "sdk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
});
import pulumi
import pulumi_vercel as vercel
example = vercel.get_feature_flag_sdk_key(project_id="prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
id="sdk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vercel.LookupFeatureFlagSdkKey(ctx, &vercel.LookupFeatureFlagSdkKeyArgs{
ProjectId: "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
Id: "sdk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vercel = Pulumiverse.Vercel;
return await Deployment.RunAsync(() =>
{
var example = Vercel.GetFeatureFlagSdkKey.Invoke(new()
{
ProjectId = "prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
Id = "sdk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vercel.VercelFunctions;
import com.pulumi.vercel.inputs.GetFeatureFlagSdkKeyArgs;
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 example = VercelFunctions.getFeatureFlagSdkKey(GetFeatureFlagSdkKeyArgs.builder()
.projectId("prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.id("sdk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx")
.build());
}
}
variables:
example:
fn::invoke:
function: vercel:getFeatureFlagSdkKey
arguments:
projectId: prj_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
id: sdk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Example coming soon!
Using getFeatureFlagSdkKey
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 getFeatureFlagSdkKey(args: GetFeatureFlagSdkKeyArgs, opts?: InvokeOptions): Promise<GetFeatureFlagSdkKeyResult>
function getFeatureFlagSdkKeyOutput(args: GetFeatureFlagSdkKeyOutputArgs, opts?: InvokeOptions): Output<GetFeatureFlagSdkKeyResult>def get_feature_flag_sdk_key(id: Optional[str] = None,
project_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFeatureFlagSdkKeyResult
def get_feature_flag_sdk_key_output(id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFeatureFlagSdkKeyResult]func LookupFeatureFlagSdkKey(ctx *Context, args *LookupFeatureFlagSdkKeyArgs, opts ...InvokeOption) (*LookupFeatureFlagSdkKeyResult, error)
func LookupFeatureFlagSdkKeyOutput(ctx *Context, args *LookupFeatureFlagSdkKeyOutputArgs, opts ...InvokeOption) LookupFeatureFlagSdkKeyResultOutput> Note: This function is named LookupFeatureFlagSdkKey in the Go SDK.
public static class GetFeatureFlagSdkKey
{
public static Task<GetFeatureFlagSdkKeyResult> InvokeAsync(GetFeatureFlagSdkKeyArgs args, InvokeOptions? opts = null)
public static Output<GetFeatureFlagSdkKeyResult> Invoke(GetFeatureFlagSdkKeyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFeatureFlagSdkKeyResult> getFeatureFlagSdkKey(GetFeatureFlagSdkKeyArgs args, InvokeOptions options)
public static Output<GetFeatureFlagSdkKeyResult> getFeatureFlagSdkKey(GetFeatureFlagSdkKeyArgs args, InvokeOptions options)
fn::invoke:
function: vercel:index/getFeatureFlagSdkKey:getFeatureFlagSdkKey
arguments:
# arguments dictionarydata "vercel_get_feature_flag_sdk_key" "name" {
# arguments
}The following arguments are supported:
- id string
- The hash key identifier for the SDK key.
- project_
id string - The ID of the Vercel project that owns the SDK key.
- team_
id string - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- id str
- The hash key identifier for the SDK key.
- project_
id str - The ID of the Vercel project that owns the SDK key.
- team_
id str - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
getFeatureFlagSdkKey Result
The following output properties are available:
- Environment string
- The environment this SDK key authenticates against.
- Id string
- The hash key identifier for the SDK key.
- Label string
- An optional label used to identify this key in the Vercel dashboard.
- Project
Id string - The ID of the Vercel project that owns the SDK key.
- Team
Id string - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- Type string
- The SDK key type.
- Environment string
- The environment this SDK key authenticates against.
- Id string
- The hash key identifier for the SDK key.
- Label string
- An optional label used to identify this key in the Vercel dashboard.
- Project
Id string - The ID of the Vercel project that owns the SDK key.
- Team
Id string - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- Type string
- The SDK key type.
- environment string
- The environment this SDK key authenticates against.
- id string
- The hash key identifier for the SDK key.
- label string
- An optional label used to identify this key in the Vercel dashboard.
- project_
id string - The ID of the Vercel project that owns the SDK key.
- team_
id string - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- type string
- The SDK key type.
- environment String
- The environment this SDK key authenticates against.
- id String
- The hash key identifier for the SDK key.
- label String
- An optional label used to identify this key in the Vercel dashboard.
- project
Id String - The ID of the Vercel project that owns the SDK key.
- team
Id String - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- type String
- The SDK key type.
- environment string
- The environment this SDK key authenticates against.
- id string
- The hash key identifier for the SDK key.
- label string
- An optional label used to identify this key in the Vercel dashboard.
- project
Id string - The ID of the Vercel project that owns the SDK key.
- team
Id string - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- type string
- The SDK key type.
- environment str
- The environment this SDK key authenticates against.
- id str
- The hash key identifier for the SDK key.
- label str
- An optional label used to identify this key in the Vercel dashboard.
- project_
id str - The ID of the Vercel project that owns the SDK key.
- team_
id str - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- type str
- The SDK key type.
- environment String
- The environment this SDK key authenticates against.
- id String
- The hash key identifier for the SDK key.
- label String
- An optional label used to identify this key in the Vercel dashboard.
- project
Id String - The ID of the Vercel project that owns the SDK key.
- team
Id String - The ID of the Vercel team. Required when configuring a team resource if a default team has not been set in the provider.
- type String
- The SDK key type.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
published on Wednesday, Jul 22, 2026 by Pulumiverse