1. Packages
  2. Packages
  3. Gcore Provider
  4. API Docs
  5. StorageSftp
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core

    SFTP storages provide file transfer protocol access for securely uploading, downloading, and managing files over SSH.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleStorageSftp = new gcore.StorageSftp("example_storage_sftp", {
        locationName: "s-region-1",
        name: "my-sftp-storage",
        passwordMode: "auto",
        expires: "2 years 6 months",
        hasCustomConfigFile: false,
        isHttpDisabled: false,
        serverAlias: "my-storage.example.com",
        sftpPassword: "sftp_password",
        sshKeyIds: [
            1,
            2,
            3,
        ],
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_storage_sftp = gcore.StorageSftp("example_storage_sftp",
        location_name="s-region-1",
        name="my-sftp-storage",
        password_mode="auto",
        expires="2 years 6 months",
        has_custom_config_file=False,
        is_http_disabled=False,
        server_alias="my-storage.example.com",
        sftp_password="sftp_password",
        ssh_key_ids=[
            1,
            2,
            3,
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.NewStorageSftp(ctx, "example_storage_sftp", &gcore.StorageSftpArgs{
    			LocationName:        pulumi.String("s-region-1"),
    			Name:                pulumi.String("my-sftp-storage"),
    			PasswordMode:        pulumi.String("auto"),
    			Expires:             pulumi.String("2 years 6 months"),
    			HasCustomConfigFile: pulumi.Bool(false),
    			IsHttpDisabled:      pulumi.Bool(false),
    			ServerAlias:         pulumi.String("my-storage.example.com"),
    			SftpPassword:        pulumi.String("sftp_password"),
    			SshKeyIds: pulumi.Float64Array{
    				pulumi.Float64(1),
    				pulumi.Float64(2),
    				pulumi.Float64(3),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleStorageSftp = new Gcore.StorageSftp("example_storage_sftp", new()
        {
            LocationName = "s-region-1",
            Name = "my-sftp-storage",
            PasswordMode = "auto",
            Expires = "2 years 6 months",
            HasCustomConfigFile = false,
            IsHttpDisabled = false,
            ServerAlias = "my-storage.example.com",
            SftpPassword = "sftp_password",
            SshKeyIds = new[]
            {
                1,
                2,
                3,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.StorageSftp;
    import com.pulumi.gcore.StorageSftpArgs;
    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 exampleStorageSftp = new StorageSftp("exampleStorageSftp", StorageSftpArgs.builder()
                .locationName("s-region-1")
                .name("my-sftp-storage")
                .passwordMode("auto")
                .expires("2 years 6 months")
                .hasCustomConfigFile(false)
                .isHttpDisabled(false)
                .serverAlias("my-storage.example.com")
                .sftpPassword("sftp_password")
                .sshKeyIds(            
                    1.0,
                    2.0,
                    3.0)
                .build());
    
        }
    }
    
    resources:
      exampleStorageSftp:
        type: gcore:StorageSftp
        name: example_storage_sftp
        properties:
          locationName: s-region-1
          name: my-sftp-storage
          passwordMode: auto
          expires: 2 years 6 months
          hasCustomConfigFile: false
          isHttpDisabled: false
          serverAlias: my-storage.example.com
          sftpPassword: sftp_password
          sshKeyIds:
            - 1
            - 2
            - 3
    
    Example coming soon!
    

    Create StorageSftp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StorageSftp(name: string, args: StorageSftpArgs, opts?: CustomResourceOptions);
    @overload
    def StorageSftp(resource_name: str,
                    args: StorageSftpArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageSftp(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    location_name: Optional[str] = None,
                    password_mode: Optional[str] = None,
                    expires: Optional[str] = None,
                    has_custom_config_file: Optional[bool] = None,
                    is_http_disabled: Optional[bool] = None,
                    name: Optional[str] = None,
                    server_alias: Optional[str] = None,
                    sftp_password: Optional[str] = None,
                    ssh_key_ids: Optional[Sequence[float]] = None)
    func NewStorageSftp(ctx *Context, name string, args StorageSftpArgs, opts ...ResourceOption) (*StorageSftp, error)
    public StorageSftp(string name, StorageSftpArgs args, CustomResourceOptions? opts = null)
    public StorageSftp(String name, StorageSftpArgs args)
    public StorageSftp(String name, StorageSftpArgs args, CustomResourceOptions options)
    
    type: gcore:StorageSftp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "gcore_storagesftp" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args StorageSftpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StorageSftpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StorageSftpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StorageSftpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StorageSftpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var storageSftpResource = new Gcore.StorageSftp("storageSftpResource", new()
    {
        LocationName = "string",
        PasswordMode = "string",
        Expires = "string",
        HasCustomConfigFile = false,
        IsHttpDisabled = false,
        Name = "string",
        ServerAlias = "string",
        SftpPassword = "string",
        SshKeyIds = new[]
        {
            0,
        },
    });
    
    example, err := gcore.NewStorageSftp(ctx, "storageSftpResource", &gcore.StorageSftpArgs{
    	LocationName:        pulumi.String("string"),
    	PasswordMode:        pulumi.String("string"),
    	Expires:             pulumi.String("string"),
    	HasCustomConfigFile: pulumi.Bool(false),
    	IsHttpDisabled:      pulumi.Bool(false),
    	Name:                pulumi.String("string"),
    	ServerAlias:         pulumi.String("string"),
    	SftpPassword:        pulumi.String("string"),
    	SshKeyIds: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    })
    
    resource "gcore_storagesftp" "storageSftpResource" {
      location_name          = "string"
      password_mode          = "string"
      expires                = "string"
      has_custom_config_file = false
      is_http_disabled       = false
      name                   = "string"
      server_alias           = "string"
      sftp_password          = "string"
      ssh_key_ids            = [0]
    }
    
    var storageSftpResource = new StorageSftp("storageSftpResource", StorageSftpArgs.builder()
        .locationName("string")
        .passwordMode("string")
        .expires("string")
        .hasCustomConfigFile(false)
        .isHttpDisabled(false)
        .name("string")
        .serverAlias("string")
        .sftpPassword("string")
        .sshKeyIds(0.0)
        .build());
    
    storage_sftp_resource = gcore.StorageSftp("storageSftpResource",
        location_name="string",
        password_mode="string",
        expires="string",
        has_custom_config_file=False,
        is_http_disabled=False,
        name="string",
        server_alias="string",
        sftp_password="string",
        ssh_key_ids=[float(0)])
    
    const storageSftpResource = new gcore.StorageSftp("storageSftpResource", {
        locationName: "string",
        passwordMode: "string",
        expires: "string",
        hasCustomConfigFile: false,
        isHttpDisabled: false,
        name: "string",
        serverAlias: "string",
        sftpPassword: "string",
        sshKeyIds: [0],
    });
    
    type: gcore:StorageSftp
    properties:
        expires: string
        hasCustomConfigFile: false
        isHttpDisabled: false
        locationName: string
        name: string
        passwordMode: string
        serverAlias: string
        sftpPassword: string
        sshKeyIds:
            - 0
    

    StorageSftp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The StorageSftp resource accepts the following input properties:

    LocationName string
    Location code where the storage should be created
    PasswordMode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    Expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    HasCustomConfigFile bool
    Whether this storage should use a custom configuration file
    IsHttpDisabled bool
    Whether HTTP access should be disabled (HTTPS only)
    Name string
    User-defined name for the storage instance
    ServerAlias string
    Custom domain alias for accessing the storage. Omit for no alias.
    SftpPassword string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    SshKeyIds List<double>
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    LocationName string
    Location code where the storage should be created
    PasswordMode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    Expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    HasCustomConfigFile bool
    Whether this storage should use a custom configuration file
    IsHttpDisabled bool
    Whether HTTP access should be disabled (HTTPS only)
    Name string
    User-defined name for the storage instance
    ServerAlias string
    Custom domain alias for accessing the storage. Omit for no alias.
    SftpPassword string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    SshKeyIds []float64
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    location_name string
    Location code where the storage should be created
    password_mode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    has_custom_config_file bool
    Whether this storage should use a custom configuration file
    is_http_disabled bool
    Whether HTTP access should be disabled (HTTPS only)
    name string
    User-defined name for the storage instance
    server_alias string
    Custom domain alias for accessing the storage. Omit for no alias.
    sftp_password string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    ssh_key_ids list(number)
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    locationName String
    Location code where the storage should be created
    passwordMode String
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    expires String
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    hasCustomConfigFile Boolean
    Whether this storage should use a custom configuration file
    isHttpDisabled Boolean
    Whether HTTP access should be disabled (HTTPS only)
    name String
    User-defined name for the storage instance
    serverAlias String
    Custom domain alias for accessing the storage. Omit for no alias.
    sftpPassword String
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    sshKeyIds List<Double>
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    locationName string
    Location code where the storage should be created
    passwordMode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    hasCustomConfigFile boolean
    Whether this storage should use a custom configuration file
    isHttpDisabled boolean
    Whether HTTP access should be disabled (HTTPS only)
    name string
    User-defined name for the storage instance
    serverAlias string
    Custom domain alias for accessing the storage. Omit for no alias.
    sftpPassword string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    sshKeyIds number[]
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    location_name str
    Location code where the storage should be created
    password_mode str
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    expires str
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    has_custom_config_file bool
    Whether this storage should use a custom configuration file
    is_http_disabled bool
    Whether HTTP access should be disabled (HTTPS only)
    name str
    User-defined name for the storage instance
    server_alias str
    Custom domain alias for accessing the storage. Omit for no alias.
    sftp_password str
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    ssh_key_ids Sequence[float]
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    locationName String
    Location code where the storage should be created
    passwordMode String
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    expires String
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    hasCustomConfigFile Boolean
    Whether this storage should use a custom configuration file
    isHttpDisabled Boolean
    Whether HTTP access should be disabled (HTTPS only)
    name String
    User-defined name for the storage instance
    serverAlias String
    Custom domain alias for accessing the storage. Omit for no alias.
    sftpPassword String
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    sshKeyIds List<Number>
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StorageSftp resource produces the following output properties:

    Address string
    Full hostname/address for accessing the storage endpoint
    CreatedAt string
    ISO 8601 timestamp when the storage was created
    FullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    HasPassword bool
    Whether password authentication is configured for this storage
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    ProvisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    StorageSftpId double
    Unique identifier for the storage instance
    Address string
    Full hostname/address for accessing the storage endpoint
    CreatedAt string
    ISO 8601 timestamp when the storage was created
    FullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    HasPassword bool
    Whether password authentication is configured for this storage
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    ProvisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    StorageSftpId float64
    Unique identifier for the storage instance
    address string
    Full hostname/address for accessing the storage endpoint
    created_at string
    ISO 8601 timestamp when the storage was created
    full_name string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    has_password bool
    Whether password authentication is configured for this storage
    id string
    The provider-assigned unique ID for this managed resource.
    password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    provisioning_status string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    storage_sftp_id number
    Unique identifier for the storage instance
    address String
    Full hostname/address for accessing the storage endpoint
    createdAt String
    ISO 8601 timestamp when the storage was created
    fullName String
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    hasPassword Boolean
    Whether password authentication is configured for this storage
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    provisioningStatus String
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    storageSftpId Double
    Unique identifier for the storage instance
    address string
    Full hostname/address for accessing the storage endpoint
    createdAt string
    ISO 8601 timestamp when the storage was created
    fullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    hasPassword boolean
    Whether password authentication is configured for this storage
    id string
    The provider-assigned unique ID for this managed resource.
    password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    provisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    storageSftpId number
    Unique identifier for the storage instance
    address str
    Full hostname/address for accessing the storage endpoint
    created_at str
    ISO 8601 timestamp when the storage was created
    full_name str
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    has_password bool
    Whether password authentication is configured for this storage
    id str
    The provider-assigned unique ID for this managed resource.
    password str
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    provisioning_status str
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    storage_sftp_id float
    Unique identifier for the storage instance
    address String
    Full hostname/address for accessing the storage endpoint
    createdAt String
    ISO 8601 timestamp when the storage was created
    fullName String
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    hasPassword Boolean
    Whether password authentication is configured for this storage
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    provisioningStatus String
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    storageSftpId Number
    Unique identifier for the storage instance

    Look up Existing StorageSftp Resource

    Get an existing StorageSftp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: StorageSftpState, opts?: CustomResourceOptions): StorageSftp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            created_at: Optional[str] = None,
            expires: Optional[str] = None,
            full_name: Optional[str] = None,
            has_custom_config_file: Optional[bool] = None,
            has_password: Optional[bool] = None,
            is_http_disabled: Optional[bool] = None,
            location_name: Optional[str] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            password_mode: Optional[str] = None,
            provisioning_status: Optional[str] = None,
            server_alias: Optional[str] = None,
            sftp_password: Optional[str] = None,
            ssh_key_ids: Optional[Sequence[float]] = None,
            storage_sftp_id: Optional[float] = None) -> StorageSftp
    func GetStorageSftp(ctx *Context, name string, id IDInput, state *StorageSftpState, opts ...ResourceOption) (*StorageSftp, error)
    public static StorageSftp Get(string name, Input<string> id, StorageSftpState? state, CustomResourceOptions? opts = null)
    public static StorageSftp get(String name, Output<String> id, StorageSftpState state, CustomResourceOptions options)
    resources:  _:    type: gcore:StorageSftp    get:      id: ${id}
    import {
      to = gcore_storagesftp.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Address string
    Full hostname/address for accessing the storage endpoint
    CreatedAt string
    ISO 8601 timestamp when the storage was created
    Expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    FullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    HasCustomConfigFile bool
    Whether this storage should use a custom configuration file
    HasPassword bool
    Whether password authentication is configured for this storage
    IsHttpDisabled bool
    Whether HTTP access should be disabled (HTTPS only)
    LocationName string
    Location code where the storage should be created
    Name string
    User-defined name for the storage instance
    Password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    PasswordMode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    ProvisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    ServerAlias string
    Custom domain alias for accessing the storage. Omit for no alias.
    SftpPassword string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    SshKeyIds List<double>
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    StorageSftpId double
    Unique identifier for the storage instance
    Address string
    Full hostname/address for accessing the storage endpoint
    CreatedAt string
    ISO 8601 timestamp when the storage was created
    Expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    FullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    HasCustomConfigFile bool
    Whether this storage should use a custom configuration file
    HasPassword bool
    Whether password authentication is configured for this storage
    IsHttpDisabled bool
    Whether HTTP access should be disabled (HTTPS only)
    LocationName string
    Location code where the storage should be created
    Name string
    User-defined name for the storage instance
    Password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    PasswordMode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    ProvisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    ServerAlias string
    Custom domain alias for accessing the storage. Omit for no alias.
    SftpPassword string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    SshKeyIds []float64
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    StorageSftpId float64
    Unique identifier for the storage instance
    address string
    Full hostname/address for accessing the storage endpoint
    created_at string
    ISO 8601 timestamp when the storage was created
    expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    full_name string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    has_custom_config_file bool
    Whether this storage should use a custom configuration file
    has_password bool
    Whether password authentication is configured for this storage
    is_http_disabled bool
    Whether HTTP access should be disabled (HTTPS only)
    location_name string
    Location code where the storage should be created
    name string
    User-defined name for the storage instance
    password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    password_mode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    provisioning_status string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    server_alias string
    Custom domain alias for accessing the storage. Omit for no alias.
    sftp_password string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    ssh_key_ids list(number)
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    storage_sftp_id number
    Unique identifier for the storage instance
    address String
    Full hostname/address for accessing the storage endpoint
    createdAt String
    ISO 8601 timestamp when the storage was created
    expires String
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    fullName String
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    hasCustomConfigFile Boolean
    Whether this storage should use a custom configuration file
    hasPassword Boolean
    Whether password authentication is configured for this storage
    isHttpDisabled Boolean
    Whether HTTP access should be disabled (HTTPS only)
    locationName String
    Location code where the storage should be created
    name String
    User-defined name for the storage instance
    password String
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    passwordMode String
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    provisioningStatus String
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    serverAlias String
    Custom domain alias for accessing the storage. Omit for no alias.
    sftpPassword String
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    sshKeyIds List<Double>
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    storageSftpId Double
    Unique identifier for the storage instance
    address string
    Full hostname/address for accessing the storage endpoint
    createdAt string
    ISO 8601 timestamp when the storage was created
    expires string
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    fullName string
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    hasCustomConfigFile boolean
    Whether this storage should use a custom configuration file
    hasPassword boolean
    Whether password authentication is configured for this storage
    isHttpDisabled boolean
    Whether HTTP access should be disabled (HTTPS only)
    locationName string
    Location code where the storage should be created
    name string
    User-defined name for the storage instance
    password string
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    passwordMode string
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    provisioningStatus string
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    serverAlias string
    Custom domain alias for accessing the storage. Omit for no alias.
    sftpPassword string
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    sshKeyIds number[]
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    storageSftpId number
    Unique identifier for the storage instance
    address str
    Full hostname/address for accessing the storage endpoint
    created_at str
    ISO 8601 timestamp when the storage was created
    expires str
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    full_name str
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    has_custom_config_file bool
    Whether this storage should use a custom configuration file
    has_password bool
    Whether password authentication is configured for this storage
    is_http_disabled bool
    Whether HTTP access should be disabled (HTTPS only)
    location_name str
    Location code where the storage should be created
    name str
    User-defined name for the storage instance
    password str
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    password_mode str
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    provisioning_status str
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    server_alias str
    Custom domain alias for accessing the storage. Omit for no alias.
    sftp_password str
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    ssh_key_ids Sequence[float]
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    storage_sftp_id float
    Unique identifier for the storage instance
    address String
    Full hostname/address for accessing the storage endpoint
    createdAt String
    ISO 8601 timestamp when the storage was created
    expires String
    Duration when the storage should expire (e.g., "2 years 6 months"). Omit for no expiration.
    fullName String
    Read-only internal full name of the storage, composed as "{client_id}-{name}". Used by the SFTP backend as the login username. Clients should use this value when connecting but should continue to identify the storage by name in their own configuration.
    hasCustomConfigFile Boolean
    Whether this storage should use a custom configuration file
    hasPassword Boolean
    Whether password authentication is configured for this storage
    isHttpDisabled Boolean
    Whether HTTP access should be disabled (HTTPS only)
    locationName String
    Location code where the storage should be created
    name String
    User-defined name for the storage instance
    password String
    SFTP password. Only returned when newly generated or set (create/patch). Omitted in GET/list responses.
    passwordMode String
    Password handling mode for SFTP access: 'auto': generate a random password (returned in the response) 'set': use the password provided in sftp_password 'none': no password (SSH-key-only access) Available values: "auto", "set", "none".
    provisioningStatus String
    Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
    serverAlias String
    Custom domain alias for accessing the storage. Omit for no alias.
    sftpPassword String
    SFTP password (8-63 chars). Required when password_mode is 'set'. Must be omitted when password_mode is 'auto' or 'none'.
    sshKeyIds List<Number>
    SSH key IDs to associate with this storage at creation time. If omitted, no keys are linked.
    storageSftpId Number
    Unique identifier for the storage instance

    Import

    The pulumi import command can be used, for example:

    $ pulumi import gcore:index/storageSftp:StorageSftp example '<storage_id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.8
    published on Wednesday, May 20, 2026 by g-core

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial