1. Packages
  2. Doppler
  3. API Docs
  4. getSecrets
Doppler v0.9.0 published on Tuesday, Aug 27, 2024 by Pulumiverse

doppler.getSecrets

Explore with Pulumi AI

doppler logo
Doppler v0.9.0 published on Tuesday, Aug 27, 2024 by Pulumiverse

    Retrieve all secrets in the config.

    Using getSecrets

    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 getSecrets(args: GetSecretsArgs, opts?: InvokeOptions): Promise<GetSecretsResult>
    function getSecretsOutput(args: GetSecretsOutputArgs, opts?: InvokeOptions): Output<GetSecretsResult>
    def get_secrets(config: Optional[str] = None,
                    project: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetSecretsResult
    def get_secrets_output(config: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetSecretsResult]
    func GetSecrets(ctx *Context, args *GetSecretsArgs, opts ...InvokeOption) (*GetSecretsResult, error)
    func GetSecretsOutput(ctx *Context, args *GetSecretsOutputArgs, opts ...InvokeOption) GetSecretsResultOutput

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

    public static class GetSecrets 
    {
        public static Task<GetSecretsResult> InvokeAsync(GetSecretsArgs args, InvokeOptions? opts = null)
        public static Output<GetSecretsResult> Invoke(GetSecretsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecretsResult> getSecrets(GetSecretsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: doppler:index/getSecrets:getSecrets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Config string
    The name of the Doppler config (required for personal tokens)
    Project string
    The name of the Doppler project (required for personal tokens)
    Config string
    The name of the Doppler config (required for personal tokens)
    Project string
    The name of the Doppler project (required for personal tokens)
    config String
    The name of the Doppler config (required for personal tokens)
    project String
    The name of the Doppler project (required for personal tokens)
    config string
    The name of the Doppler config (required for personal tokens)
    project string
    The name of the Doppler project (required for personal tokens)
    config str
    The name of the Doppler config (required for personal tokens)
    project str
    The name of the Doppler project (required for personal tokens)
    config String
    The name of the Doppler config (required for personal tokens)
    project String
    The name of the Doppler project (required for personal tokens)

    getSecrets Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Map Dictionary<string, string>
    A mapping of secret names to computed secret values
    Config string
    The name of the Doppler config (required for personal tokens)
    Project string
    The name of the Doppler project (required for personal tokens)
    Id string
    The provider-assigned unique ID for this managed resource.
    Map map[string]string
    A mapping of secret names to computed secret values
    Config string
    The name of the Doppler config (required for personal tokens)
    Project string
    The name of the Doppler project (required for personal tokens)
    id String
    The provider-assigned unique ID for this managed resource.
    map Map<String,String>
    A mapping of secret names to computed secret values
    config String
    The name of the Doppler config (required for personal tokens)
    project String
    The name of the Doppler project (required for personal tokens)
    id string
    The provider-assigned unique ID for this managed resource.
    map {[key: string]: string}
    A mapping of secret names to computed secret values
    config string
    The name of the Doppler config (required for personal tokens)
    project string
    The name of the Doppler project (required for personal tokens)
    id str
    The provider-assigned unique ID for this managed resource.
    map Mapping[str, str]
    A mapping of secret names to computed secret values
    config str
    The name of the Doppler config (required for personal tokens)
    project str
    The name of the Doppler project (required for personal tokens)
    id String
    The provider-assigned unique ID for this managed resource.
    map Map<String>
    A mapping of secret names to computed secret values
    config String
    The name of the Doppler config (required for personal tokens)
    project String
    The name of the Doppler project (required for personal tokens)

    Package Details

    Repository
    doppler pulumiverse/pulumi-doppler
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the doppler Terraform Provider.
    doppler logo
    Doppler v0.9.0 published on Tuesday, Aug 27, 2024 by Pulumiverse