published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
A RemoteServerCredential is a way to store a credential for Remote Servers in a centralized vault and then reference it from Remote Server definitions.
This allows you to manage your credentials in one place and avoid duplicating them across multiple Remote Server configurations. It also improves security. You can manage the Remote Servers with Pulumi or with the API, and the credential stays in the vault.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleRemoteServerCredential = filescom.getRemoteServerCredential({
id: 1,
});
import pulumi
import pulumi_filescom as filescom
example_remote_server_credential = filescom.get_remote_server_credential(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.GetRemoteServerCredential(ctx, &filescom.LookupRemoteServerCredentialArgs{
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 exampleRemoteServerCredential = Filescom.GetRemoteServerCredential.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.GetRemoteServerCredentialArgs;
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 exampleRemoteServerCredential = FilescomFunctions.getRemoteServerCredential(GetRemoteServerCredentialArgs.builder()
.id(1)
.build());
}
}
variables:
exampleRemoteServerCredential:
fn::invoke:
function: filescom:getRemoteServerCredential
arguments:
id: 1
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
data "filescom_getremoteservercredential" "exampleRemoteServerCredential" {
id = 1
}
Using getRemoteServerCredential
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 getRemoteServerCredential(args: GetRemoteServerCredentialArgs, opts?: InvokeOptions): Promise<GetRemoteServerCredentialResult>
function getRemoteServerCredentialOutput(args: GetRemoteServerCredentialOutputArgs, opts?: InvokeOutputOptions): Output<GetRemoteServerCredentialResult>def get_remote_server_credential(id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetRemoteServerCredentialResult
def get_remote_server_credential_output(id: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetRemoteServerCredentialResult]func LookupRemoteServerCredential(ctx *Context, args *LookupRemoteServerCredentialArgs, opts ...InvokeOption) (*LookupRemoteServerCredentialResult, error)
func LookupRemoteServerCredentialOutput(ctx *Context, args *LookupRemoteServerCredentialOutputArgs, opts ...InvokeOption) LookupRemoteServerCredentialResultOutput> Note: This function is named LookupRemoteServerCredential in the Go SDK.
public static class GetRemoteServerCredential
{
public static Task<GetRemoteServerCredentialResult> InvokeAsync(GetRemoteServerCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetRemoteServerCredentialResult> Invoke(GetRemoteServerCredentialInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetRemoteServerCredentialResult> Invoke(GetRemoteServerCredentialInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetRemoteServerCredentialResult> getRemoteServerCredential(GetRemoteServerCredentialArgs args, InvokeOptions options)
public static Output<GetRemoteServerCredentialResult> getRemoteServerCredential(GetRemoteServerCredentialArgs args, InvokeOptions options)
public static Output<GetRemoteServerCredentialResult> getRemoteServerCredential(GetRemoteServerCredentialArgs args, InvokeOutputOptions options)
fn::invoke:
function: filescom:index/getRemoteServerCredential:getRemoteServerCredential
arguments:
# arguments dictionarydata "filescom_get_remote_server_credential" "name" {
# arguments
}The following arguments are supported:
- Id int
- Remote Server Credential ID
- Id int
- Remote Server Credential ID
- id number
- Remote Server Credential ID
- id Integer
- Remote Server Credential ID
- id number
- Remote Server Credential ID
- id int
- Remote Server Credential ID
- id Number
- Remote Server Credential ID
getRemoteServerCredential Result
The following output properties are available:
- Aws
Access stringKey - AWS Access Key.
- Cloudflare
Access stringKey - Cloudflare: Access Key.
- Description string
- Internal description for your reference
- Filebase
Access stringKey - Filebase: Access Key.
- Google
Cloud stringStorage S3Compatible Access Key - Google Cloud Storage: S3-compatible Access Key.
- Id int
- Remote Server Credential ID
- Linode
Access stringKey - Linode: Access Key
- Name string
- Internal name for your reference
- S3Assume
Role stringArn - AWS IAM Role ARN for AssumeRole authentication.
- S3Assume
Role intDuration Seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- S3Assume
Role stringExternal Id - External ID for AssumeRole authentication.
- S3Compatible
Access stringKey - S3-compatible: Access Key
- Server
Type string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- string
- SharePoint: App-only credential type. Either secret or certificate.
- string
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- string
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- Username string
- Remote server username.
- Wasabi
Access stringKey - Wasabi: Access Key.
- Workspace
Id int - Workspace ID (0 for default workspace)
- Aws
Access stringKey - AWS Access Key.
- Cloudflare
Access stringKey - Cloudflare: Access Key.
- Description string
- Internal description for your reference
- Filebase
Access stringKey - Filebase: Access Key.
- Google
Cloud stringStorage S3Compatible Access Key - Google Cloud Storage: S3-compatible Access Key.
- Id int
- Remote Server Credential ID
- Linode
Access stringKey - Linode: Access Key
- Name string
- Internal name for your reference
- S3Assume
Role stringArn - AWS IAM Role ARN for AssumeRole authentication.
- S3Assume
Role intDuration Seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- S3Assume
Role stringExternal Id - External ID for AssumeRole authentication.
- S3Compatible
Access stringKey - S3-compatible: Access Key
- Server
Type string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- string
- SharePoint: App-only credential type. Either secret or certificate.
- string
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- string
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- Username string
- Remote server username.
- Wasabi
Access stringKey - Wasabi: Access Key.
- Workspace
Id int - Workspace ID (0 for default workspace)
- aws_
access_ stringkey - AWS Access Key.
- cloudflare_
access_ stringkey - Cloudflare: Access Key.
- description string
- Internal description for your reference
- filebase_
access_ stringkey - Filebase: Access Key.
- google_
cloud_ stringstorage_ s3_ compatible_ access_ key - Google Cloud Storage: S3-compatible Access Key.
- id number
- Remote Server Credential ID
- linode_
access_ stringkey - Linode: Access Key
- name string
- Internal name for your reference
- s3_
assume_ stringrole_ arn - AWS IAM Role ARN for AssumeRole authentication.
- s3_
assume_ numberrole_ duration_ seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- s3_
assume_ stringrole_ external_ id - External ID for AssumeRole authentication.
- s3_
compatible_ stringaccess_ key - S3-compatible: Access Key
- server_
type string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- string
- SharePoint: App-only credential type. Either secret or certificate.
- string
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- string
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- username string
- Remote server username.
- wasabi_
access_ stringkey - Wasabi: Access Key.
- workspace_
id number - Workspace ID (0 for default workspace)
- aws
Access StringKey - AWS Access Key.
- cloudflare
Access StringKey - Cloudflare: Access Key.
- description String
- Internal description for your reference
- filebase
Access StringKey - Filebase: Access Key.
- google
Cloud StringStorage S3Compatible Access Key - Google Cloud Storage: S3-compatible Access Key.
- id Integer
- Remote Server Credential ID
- linode
Access StringKey - Linode: Access Key
- name String
- Internal name for your reference
- s3Assume
Role StringArn - AWS IAM Role ARN for AssumeRole authentication.
- s3Assume
Role IntegerDuration Seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- s3Assume
Role StringExternal Id - External ID for AssumeRole authentication.
- s3Compatible
Access StringKey - S3-compatible: Access Key
- server
Type String - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- String
- SharePoint: App-only credential type. Either secret or certificate.
- String
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- String
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- username String
- Remote server username.
- wasabi
Access StringKey - Wasabi: Access Key.
- workspace
Id Integer - Workspace ID (0 for default workspace)
- aws
Access stringKey - AWS Access Key.
- cloudflare
Access stringKey - Cloudflare: Access Key.
- description string
- Internal description for your reference
- filebase
Access stringKey - Filebase: Access Key.
- google
Cloud stringStorage S3Compatible Access Key - Google Cloud Storage: S3-compatible Access Key.
- id number
- Remote Server Credential ID
- linode
Access stringKey - Linode: Access Key
- name string
- Internal name for your reference
- s3Assume
Role stringArn - AWS IAM Role ARN for AssumeRole authentication.
- s3Assume
Role numberDuration Seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- s3Assume
Role stringExternal Id - External ID for AssumeRole authentication.
- s3Compatible
Access stringKey - S3-compatible: Access Key
- server
Type string - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- string
- SharePoint: App-only credential type. Either secret or certificate.
- string
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- string
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- username string
- Remote server username.
- wasabi
Access stringKey - Wasabi: Access Key.
- workspace
Id number - Workspace ID (0 for default workspace)
- aws_
access_ strkey - AWS Access Key.
- cloudflare_
access_ strkey - Cloudflare: Access Key.
- description str
- Internal description for your reference
- filebase_
access_ strkey - Filebase: Access Key.
- google_
cloud_ strstorage_ s3_ compatible_ access_ key - Google Cloud Storage: S3-compatible Access Key.
- id int
- Remote Server Credential ID
- linode_
access_ strkey - Linode: Access Key
- name str
- Internal name for your reference
- s3_
assume_ strrole_ arn - AWS IAM Role ARN for AssumeRole authentication.
- s3_
assume_ introle_ duration_ seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- s3_
assume_ strrole_ external_ id - External ID for AssumeRole authentication.
- s3_
compatible_ straccess_ key - S3-compatible: Access Key
- server_
type str - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- str
- SharePoint: App-only credential type. Either secret or certificate.
- str
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- str
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- username str
- Remote server username.
- wasabi_
access_ strkey - Wasabi: Access Key.
- workspace_
id int - Workspace ID (0 for default workspace)
- aws
Access StringKey - AWS Access Key.
- cloudflare
Access StringKey - Cloudflare: Access Key.
- description String
- Internal description for your reference
- filebase
Access StringKey - Filebase: Access Key.
- google
Cloud StringStorage S3Compatible Access Key - Google Cloud Storage: S3-compatible Access Key.
- id Number
- Remote Server Credential ID
- linode
Access StringKey - Linode: Access Key
- name String
- Internal name for your reference
- s3Assume
Role StringArn - AWS IAM Role ARN for AssumeRole authentication.
- s3Assume
Role NumberDuration Seconds - Session duration in seconds for AssumeRole authentication (900-43200).
- s3Assume
Role StringExternal Id - External ID for AssumeRole authentication.
- s3Compatible
Access StringKey - S3-compatible: Access Key
- server
Type String - Remote server type. Remote Server Credentials are only valid for a single type of Remote Server.
- String
- SharePoint: App-only credential type. Either secret or certificate.
- String
- SharePoint: Microsoft Entra application client ID for app-only authentication.
- String
- SharePoint: Microsoft Entra tenant ID for app-only authentication.
- username String
- Remote server username.
- wasabi
Access StringKey - Wasabi: Access Key.
- workspace
Id Number - Workspace ID (0 for default workspace)
Package Details
- Repository
- filescom jschady/pulumi-filescom
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady