1. Packages
  2. stackit
  3. API Docs
  4. getSecretsmanagerInstance
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Secrets Manager instance data source schema. Must have a region specified in the provider configuration.

    Example Usage

    data "stackit_secretsmanager_instance" "example" {
      project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getSecretsmanagerInstance

    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 getSecretsmanagerInstance(args: GetSecretsmanagerInstanceArgs, opts?: InvokeOptions): Promise<GetSecretsmanagerInstanceResult>
    function getSecretsmanagerInstanceOutput(args: GetSecretsmanagerInstanceOutputArgs, opts?: InvokeOptions): Output<GetSecretsmanagerInstanceResult>
    def get_secretsmanager_instance(instance_id: Optional[str] = None,
                                    project_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSecretsmanagerInstanceResult
    def get_secretsmanager_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                                    project_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSecretsmanagerInstanceResult]
    func LookupSecretsmanagerInstance(ctx *Context, args *LookupSecretsmanagerInstanceArgs, opts ...InvokeOption) (*LookupSecretsmanagerInstanceResult, error)
    func LookupSecretsmanagerInstanceOutput(ctx *Context, args *LookupSecretsmanagerInstanceOutputArgs, opts ...InvokeOption) LookupSecretsmanagerInstanceResultOutput

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

    public static class GetSecretsmanagerInstance 
    {
        public static Task<GetSecretsmanagerInstanceResult> InvokeAsync(GetSecretsmanagerInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetSecretsmanagerInstanceResult> Invoke(GetSecretsmanagerInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecretsmanagerInstanceResult> getSecretsmanagerInstance(GetSecretsmanagerInstanceArgs args, InvokeOptions options)
    public static Output<GetSecretsmanagerInstanceResult> getSecretsmanagerInstance(GetSecretsmanagerInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getSecretsmanagerInstance:getSecretsmanagerInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    ID of the Secrets Manager instance.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    InstanceId string
    ID of the Secrets Manager instance.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    instanceId String
    ID of the Secrets Manager instance.
    projectId String
    STACKIT project ID to which the instance is associated.
    instanceId string
    ID of the Secrets Manager instance.
    projectId string
    STACKIT project ID to which the instance is associated.
    instance_id str
    ID of the Secrets Manager instance.
    project_id str
    STACKIT project ID to which the instance is associated.
    instanceId String
    ID of the Secrets Manager instance.
    projectId String
    STACKIT project ID to which the instance is associated.

    getSecretsmanagerInstance Result

    The following output properties are available:

    Acls List<string>
    The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
    Id string
    InstanceId string
    ID of the Secrets Manager instance.
    Name string
    Instance name.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Acls []string
    The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
    Id string
    InstanceId string
    ID of the Secrets Manager instance.
    Name string
    Instance name.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    acls List<String>
    The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
    id String
    instanceId String
    ID of the Secrets Manager instance.
    name String
    Instance name.
    projectId String
    STACKIT project ID to which the instance is associated.
    acls string[]
    The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
    id string
    instanceId string
    ID of the Secrets Manager instance.
    name string
    Instance name.
    projectId string
    STACKIT project ID to which the instance is associated.
    acls Sequence[str]
    The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
    id str
    instance_id str
    ID of the Secrets Manager instance.
    name str
    Instance name.
    project_id str
    STACKIT project ID to which the instance is associated.
    acls List<String>
    The access control list for this instance. Each entry is an IP or IP range that is permitted to access, in CIDR notation
    id String
    instanceId String
    ID of the Secrets Manager instance.
    name String
    Instance name.
    projectId String
    STACKIT project ID to which the instance is associated.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.