Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
A Secret stores named, typed secret material for later use by features that reference the Secret by ID.
Secret values are encrypted at rest and are write-only. API responses include metadata and configured value field names, but never include the stored secret values.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleSecret = filescom.getSecret({
id: 1,
});
import pulumi
import pulumi_filescom as filescom
example_secret = filescom.get_secret(id=1)
package main
import (
"github.com/jschady/pulumi-filescom/sdk/go/filescom"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filescom.GetSecret(ctx, &filescom.LookupSecretArgs{
Id: 1,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Filescom = Jschady.Filescom;
return await Deployment.RunAsync(() =>
{
var exampleSecret = Filescom.GetSecret.Invoke(new()
{
Id = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.FilescomFunctions;
import com.pulumi.filescom.inputs.GetSecretArgs;
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 exampleSecret = FilescomFunctions.getSecret(GetSecretArgs.builder()
.id(1)
.build());
}
}
variables:
exampleSecret:
fn::invoke:
function: filescom:getSecret
arguments:
id: 1
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
data "filescom_getsecret" "exampleSecret" {
id = 1
}
Using getSecret
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 getSecret(args: GetSecretArgs, opts?: InvokeOptions): Promise<GetSecretResult>
function getSecretOutput(args: GetSecretOutputArgs, opts?: InvokeOutputOptions): Output<GetSecretResult>def get_secret(id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetSecretResult
def get_secret_output(id: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSecretResult]func LookupSecret(ctx *Context, args *LookupSecretArgs, opts ...InvokeOption) (*LookupSecretResult, error)
func LookupSecretOutput(ctx *Context, args *LookupSecretOutputArgs, opts ...InvokeOption) LookupSecretResultOutput> Note: This function is named LookupSecret in the Go SDK.
public static class GetSecret
{
public static Task<GetSecretResult> InvokeAsync(GetSecretArgs args, InvokeOptions? opts = null)
public static Output<GetSecretResult> Invoke(GetSecretInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSecretResult> Invoke(GetSecretInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSecretResult> getSecret(GetSecretArgs args, InvokeOptions options)
public static Output<GetSecretResult> getSecret(GetSecretArgs args, InvokeOptions options)
public static Output<GetSecretResult> getSecret(GetSecretArgs args, InvokeOutputOptions options)
fn::invoke:
function: filescom:index/getSecret:getSecret
arguments:
# arguments dictionarydata "filescom_get_secret" "name" {
# arguments
}The following arguments are supported:
- Id int
- Secret ID.
- Id int
- Secret ID.
- id number
- Secret ID.
- id Integer
- Secret ID.
- id number
- Secret ID.
- id int
- Secret ID.
- id Number
- Secret ID.
getSecret Result
The following output properties are available:
- Created
At string - Secret create date/time.
- Description string
- Internal description for your reference.
- Id int
- Secret ID.
- Metadata object
- Non-secret metadata for the Secret type.
- Name string
- Secret name.
- Secret
Type string - Secret type.
- Updated
At string - Secret update date/time.
- Value
Field List<string>Names - Names of configured secret value fields. Secret values are never returned.
- Workspace
Id int - Workspace ID. 0 means the default workspace.
- Created
At string - Secret create date/time.
- Description string
- Internal description for your reference.
- Id int
- Secret ID.
- Metadata interface{}
- Non-secret metadata for the Secret type.
- Name string
- Secret name.
- Secret
Type string - Secret type.
- Updated
At string - Secret update date/time.
- Value
Field []stringNames - Names of configured secret value fields. Secret values are never returned.
- Workspace
Id int - Workspace ID. 0 means the default workspace.
- created_
at string - Secret create date/time.
- description string
- Internal description for your reference.
- id number
- Secret ID.
- metadata any
- Non-secret metadata for the Secret type.
- name string
- Secret name.
- secret_
type string - Secret type.
- updated_
at string - Secret update date/time.
- value_
field_ list(string)names - Names of configured secret value fields. Secret values are never returned.
- workspace_
id number - Workspace ID. 0 means the default workspace.
- created
At String - Secret create date/time.
- description String
- Internal description for your reference.
- id Integer
- Secret ID.
- metadata Object
- Non-secret metadata for the Secret type.
- name String
- Secret name.
- secret
Type String - Secret type.
- updated
At String - Secret update date/time.
- value
Field List<String>Names - Names of configured secret value fields. Secret values are never returned.
- workspace
Id Integer - Workspace ID. 0 means the default workspace.
- created
At string - Secret create date/time.
- description string
- Internal description for your reference.
- id number
- Secret ID.
- metadata any
- Non-secret metadata for the Secret type.
- name string
- Secret name.
- secret
Type string - Secret type.
- updated
At string - Secret update date/time.
- value
Field string[]Names - Names of configured secret value fields. Secret values are never returned.
- workspace
Id number - Workspace ID. 0 means the default workspace.
- created_
at str - Secret create date/time.
- description str
- Internal description for your reference.
- id int
- Secret ID.
- metadata Any
- Non-secret metadata for the Secret type.
- name str
- Secret name.
- secret_
type str - Secret type.
- updated_
at str - Secret update date/time.
- value_
field_ Sequence[str]names - Names of configured secret value fields. Secret values are never returned.
- workspace_
id int - Workspace ID. 0 means the default workspace.
- created
At String - Secret create date/time.
- description String
- Internal description for your reference.
- id Number
- Secret ID.
- metadata Any
- Non-secret metadata for the Secret type.
- name String
- Secret name.
- secret
Type String - Secret type.
- updated
At String - Secret update date/time.
- value
Field List<String>Names - Names of configured secret value fields. Secret values are never returned.
- workspace
Id Number - Workspace ID. 0 means the default workspace.
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady