1. Packages
  2. Packages
  3. Vercel Provider
  4. API Docs
  5. getBlobStoreSecrets
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse
vercel logo
Viewing docs for Vercel v5.4.1
published on Wednesday, Jul 22, 2026 by Pulumiverse

    Provides the default read/write token for a Vercel Blob store.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumiverse/vercel";
    
    const exampleBlobStore = new vercel.BlobStore("example", {name: "example-blob-store"});
    const example = vercel.getBlobStoreSecretsOutput({
        storeId: exampleBlobStore.id,
    });
    
    import pulumi
    import pulumi_vercel as vercel
    import pulumiverse_vercel as vercel
    
    example_blob_store = vercel.BlobStore("example", name="example-blob-store")
    example = vercel.get_blob_store_secrets_output(store_id=example_blob_store.id)
    
    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 {
    		exampleBlobStore, err := vercel.NewBlobStore(ctx, "example", &vercel.BlobStoreArgs{
    			Name: pulumi.String("example-blob-store"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = vercel.GetBlobStoreSecretsOutput(ctx, vercel.GetBlobStoreSecretsOutputArgs{
    			StoreId: exampleBlobStore.ID(),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumiverse.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleBlobStore = new Vercel.BlobStore("example", new()
        {
            Name = "example-blob-store",
        });
    
        var example = Vercel.GetBlobStoreSecrets.Invoke(new()
        {
            StoreId = exampleBlobStore.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumiverse.vercel.BlobStore;
    import com.pulumiverse.vercel.BlobStoreArgs;
    import com.pulumi.vercel.VercelFunctions;
    import com.pulumi.vercel.inputs.GetBlobStoreSecretsArgs;
    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) {
            var exampleBlobStore = new BlobStore("exampleBlobStore", BlobStoreArgs.builder()
                .name("example-blob-store")
                .build());
    
            final var example = VercelFunctions.getBlobStoreSecrets(GetBlobStoreSecretsArgs.builder()
                .storeId(exampleBlobStore.id())
                .build());
    
        }
    }
    
    resources:
      exampleBlobStore:
        type: vercel:BlobStore
        name: example
        properties:
          name: example-blob-store
    variables:
      example:
        fn::invoke:
          function: vercel:getBlobStoreSecrets
          arguments:
            storeId: ${exampleBlobStore.id}
    
    Example coming soon!
    

    Using getBlobStoreSecrets

    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 getBlobStoreSecrets(args: GetBlobStoreSecretsArgs, opts?: InvokeOptions): Promise<GetBlobStoreSecretsResult>
    function getBlobStoreSecretsOutput(args: GetBlobStoreSecretsOutputArgs, opts?: InvokeOptions): Output<GetBlobStoreSecretsResult>
    def get_blob_store_secrets(store_id: Optional[str] = None,
                               team_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetBlobStoreSecretsResult
    def get_blob_store_secrets_output(store_id: pulumi.Input[Optional[str]] = None,
                               team_id: pulumi.Input[Optional[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetBlobStoreSecretsResult]
    func GetBlobStoreSecrets(ctx *Context, args *GetBlobStoreSecretsArgs, opts ...InvokeOption) (*GetBlobStoreSecretsResult, error)
    func GetBlobStoreSecretsOutput(ctx *Context, args *GetBlobStoreSecretsOutputArgs, opts ...InvokeOption) GetBlobStoreSecretsResultOutput

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

    public static class GetBlobStoreSecrets 
    {
        public static Task<GetBlobStoreSecretsResult> InvokeAsync(GetBlobStoreSecretsArgs args, InvokeOptions? opts = null)
        public static Output<GetBlobStoreSecretsResult> Invoke(GetBlobStoreSecretsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBlobStoreSecretsResult> getBlobStoreSecrets(GetBlobStoreSecretsArgs args, InvokeOptions options)
    public static Output<GetBlobStoreSecretsResult> getBlobStoreSecrets(GetBlobStoreSecretsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getBlobStoreSecrets:getBlobStoreSecrets
      arguments:
        # arguments dictionary
    data "vercel_get_blob_store_secrets" "name" {
        # arguments
    }

    The following arguments are supported:

    StoreId string
    The ID of the Blob store whose secrets should be read.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    StoreId string
    The ID of the Blob store whose secrets should be read.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    store_id string
    The ID of the Blob store whose secrets should be read.
    team_id string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    storeId String
    The ID of the Blob store whose secrets should be read.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    storeId string
    The ID of the Blob store whose secrets should be read.
    teamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    store_id str
    The ID of the Blob store whose secrets should be read.
    team_id str
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    storeId String
    The ID of the Blob store whose secrets should be read.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.

    getBlobStoreSecrets Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ReadWriteToken string
    The default Blob read/write token for the store.
    StoreId string
    The ID of the Blob store whose secrets should be read.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    Id string
    The provider-assigned unique ID for this managed resource.
    ReadWriteToken string
    The default Blob read/write token for the store.
    StoreId string
    The ID of the Blob store whose secrets should be read.
    TeamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    id string
    The provider-assigned unique ID for this managed resource.
    read_write_token string
    The default Blob read/write token for the store.
    store_id string
    The ID of the Blob store whose secrets should be read.
    team_id string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    id String
    The provider-assigned unique ID for this managed resource.
    readWriteToken String
    The default Blob read/write token for the store.
    storeId String
    The ID of the Blob store whose secrets should be read.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    id string
    The provider-assigned unique ID for this managed resource.
    readWriteToken string
    The default Blob read/write token for the store.
    storeId string
    The ID of the Blob store whose secrets should be read.
    teamId string
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    id str
    The provider-assigned unique ID for this managed resource.
    read_write_token str
    The default Blob read/write token for the store.
    store_id str
    The ID of the Blob store whose secrets should be read.
    team_id str
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.
    id String
    The provider-assigned unique ID for this managed resource.
    readWriteToken String
    The default Blob read/write token for the store.
    storeId String
    The ID of the Blob store whose secrets should be read.
    teamId String
    The ID of the team that owns the Blob store. Required when configuring a team resource if a default team has not been set in the provider.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo
    Viewing docs for Vercel v5.4.1
    published on Wednesday, Jul 22, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial