Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Accepted Permissions
Secrets Store ReadSecrets Store Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleSecretsStores = cloudflare.getSecretsStores({
accountId: "985e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_secrets_stores = cloudflare.get_secrets_stores(account_id="985e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetSecretsStores(ctx, &cloudflare.LookupSecretsStoresArgs{
AccountId: "985e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleSecretsStores = Cloudflare.GetSecretsStores.Invoke(new()
{
AccountId = "985e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetSecretsStoresArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleSecretsStores = CloudflareFunctions.getSecretsStores(GetSecretsStoresArgs.builder()
.accountId("985e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleSecretsStores:
fn::invoke:
function: cloudflare:getSecretsStores
arguments:
accountId: 985e105f4ecef8ad9ca31a8372d0c353
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_getsecretsstores" "exampleSecretsStores" {
account_id = "985e105f4ecef8ad9ca31a8372d0c353"
}
Using getSecretsStores
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 getSecretsStores(args: GetSecretsStoresArgs, opts?: InvokeOptions): Promise<GetSecretsStoresResult>
function getSecretsStoresOutput(args: GetSecretsStoresOutputArgs, opts?: InvokeOptions): Output<GetSecretsStoresResult>def get_secrets_stores(account_id: Optional[str] = None,
direction: Optional[str] = None,
max_items: Optional[int] = None,
order: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecretsStoresResult
def get_secrets_stores_output(account_id: pulumi.Input[Optional[str]] = None,
direction: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
order: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecretsStoresResult]func LookupSecretsStores(ctx *Context, args *LookupSecretsStoresArgs, opts ...InvokeOption) (*LookupSecretsStoresResult, error)
func LookupSecretsStoresOutput(ctx *Context, args *LookupSecretsStoresOutputArgs, opts ...InvokeOption) LookupSecretsStoresResultOutput> Note: This function is named LookupSecretsStores in the Go SDK.
public static class GetSecretsStores
{
public static Task<GetSecretsStoresResult> InvokeAsync(GetSecretsStoresArgs args, InvokeOptions? opts = null)
public static Output<GetSecretsStoresResult> Invoke(GetSecretsStoresInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecretsStoresResult> getSecretsStores(GetSecretsStoresArgs args, InvokeOptions options)
public static Output<GetSecretsStoresResult> getSecretsStores(GetSecretsStoresArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getSecretsStores:getSecretsStores
arguments:
# arguments dictionarydata "cloudflare_get_secrets_stores" "name" {
# arguments
}The following arguments are supported:
- account_
id string - Account Identifier
- direction string
- Direction to sort objects Available values: "asc", "desc".
- max_
items number - Max items to fetch, default: 1000
- order string
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- account_
id str - Account Identifier
- direction str
- Direction to sort objects Available values: "asc", "desc".
- max_
items int - Max items to fetch, default: 1000
- order str
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
getSecretsStores Result
The following output properties are available:
- Account
Id string - Account Identifier
- Direction string
- Direction to sort objects Available values: "asc", "desc".
- Id string
- The provider-assigned unique ID for this managed resource.
- Order string
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- Results
List<Get
Secrets Stores Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Account Identifier
- Direction string
- Direction to sort objects Available values: "asc", "desc".
- Id string
- The provider-assigned unique ID for this managed resource.
- Order string
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- Results
[]Get
Secrets Stores Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - Account Identifier
- direction string
- Direction to sort objects Available values: "asc", "desc".
- id string
- The provider-assigned unique ID for this managed resource.
- order string
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- results list(object)
- The items returned by the data source
- max_
items number - Max items to fetch, default: 1000
- account
Id String - Account Identifier
- direction String
- Direction to sort objects Available values: "asc", "desc".
- id String
- The provider-assigned unique ID for this managed resource.
- order String
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- results
List<Get
Secrets Stores Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Account Identifier
- direction string
- Direction to sort objects Available values: "asc", "desc".
- id string
- The provider-assigned unique ID for this managed resource.
- order string
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- results
Get
Secrets Stores Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Account Identifier
- direction str
- Direction to sort objects Available values: "asc", "desc".
- id str
- The provider-assigned unique ID for this managed resource.
- order str
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- results
Sequence[Get
Secrets Stores Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Account Identifier
- direction String
- Direction to sort objects Available values: "asc", "desc".
- id String
- The provider-assigned unique ID for this managed resource.
- order String
- Order secrets by values in the given field Available values: "name", "comment", "created", "modified", "status".
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetSecretsStoresResult
- account_
id string - Account Identifier
- created string
- Whenthe secret was created.
- id string
- Store Identifier
- modified string
- When the secret was modified.
- name string
- The name of the store
- account_
id str - Account Identifier
- created str
- Whenthe secret was created.
- id str
- Store Identifier
- modified str
- When the secret was modified.
- name str
- The name of the store
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi