1. Packages
  2. stackit
  3. API Docs
  4. getSecretsmanagerUser
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 user data source schema. Must have a region specified in the provider configuration.

    Example Usage

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

    Using getSecretsmanagerUser

    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 getSecretsmanagerUser(args: GetSecretsmanagerUserArgs, opts?: InvokeOptions): Promise<GetSecretsmanagerUserResult>
    function getSecretsmanagerUserOutput(args: GetSecretsmanagerUserOutputArgs, opts?: InvokeOptions): Output<GetSecretsmanagerUserResult>
    def get_secretsmanager_user(instance_id: Optional[str] = None,
                                project_id: Optional[str] = None,
                                user_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSecretsmanagerUserResult
    def get_secretsmanager_user_output(instance_id: Optional[pulumi.Input[str]] = None,
                                project_id: Optional[pulumi.Input[str]] = None,
                                user_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSecretsmanagerUserResult]
    func LookupSecretsmanagerUser(ctx *Context, args *LookupSecretsmanagerUserArgs, opts ...InvokeOption) (*LookupSecretsmanagerUserResult, error)
    func LookupSecretsmanagerUserOutput(ctx *Context, args *LookupSecretsmanagerUserOutputArgs, opts ...InvokeOption) LookupSecretsmanagerUserResultOutput

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

    public static class GetSecretsmanagerUser 
    {
        public static Task<GetSecretsmanagerUserResult> InvokeAsync(GetSecretsmanagerUserArgs args, InvokeOptions? opts = null)
        public static Output<GetSecretsmanagerUserResult> Invoke(GetSecretsmanagerUserInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecretsmanagerUserResult> getSecretsmanagerUser(GetSecretsmanagerUserArgs args, InvokeOptions options)
    public static Output<GetSecretsmanagerUserResult> getSecretsmanagerUser(GetSecretsmanagerUserArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getSecretsmanagerUser:getSecretsmanagerUser
      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.
    UserId string
    The user's ID.
    InstanceId string
    ID of the Secrets Manager instance.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    UserId string
    The user's ID.
    instanceId String
    ID of the Secrets Manager instance.
    projectId String
    STACKIT Project ID to which the instance is associated.
    userId String
    The user's ID.
    instanceId string
    ID of the Secrets Manager instance.
    projectId string
    STACKIT Project ID to which the instance is associated.
    userId string
    The user's ID.
    instance_id str
    ID of the Secrets Manager instance.
    project_id str
    STACKIT Project ID to which the instance is associated.
    user_id str
    The user's ID.
    instanceId String
    ID of the Secrets Manager instance.
    projectId String
    STACKIT Project ID to which the instance is associated.
    userId String
    The user's ID.

    getSecretsmanagerUser Result

    The following output properties are available:

    Description string
    A user chosen description to differentiate between multiple users. Can't be changed after creation.
    Id string
    InstanceId string
    ID of the Secrets Manager instance.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    UserId string
    The user's ID.
    Username string
    An auto-generated user name.
    WriteEnabled bool
    If true, the user has writeaccess to the secrets engine.
    Description string
    A user chosen description to differentiate between multiple users. Can't be changed after creation.
    Id string
    InstanceId string
    ID of the Secrets Manager instance.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    UserId string
    The user's ID.
    Username string
    An auto-generated user name.
    WriteEnabled bool
    If true, the user has writeaccess to the secrets engine.
    description String
    A user chosen description to differentiate between multiple users. Can't be changed after creation.
    id String
    instanceId String
    ID of the Secrets Manager instance.
    projectId String
    STACKIT Project ID to which the instance is associated.
    userId String
    The user's ID.
    username String
    An auto-generated user name.
    writeEnabled Boolean
    If true, the user has writeaccess to the secrets engine.
    description string
    A user chosen description to differentiate between multiple users. Can't be changed after creation.
    id string
    instanceId string
    ID of the Secrets Manager instance.
    projectId string
    STACKIT Project ID to which the instance is associated.
    userId string
    The user's ID.
    username string
    An auto-generated user name.
    writeEnabled boolean
    If true, the user has writeaccess to the secrets engine.
    description str
    A user chosen description to differentiate between multiple users. Can't be changed after creation.
    id str
    instance_id str
    ID of the Secrets Manager instance.
    project_id str
    STACKIT Project ID to which the instance is associated.
    user_id str
    The user's ID.
    username str
    An auto-generated user name.
    write_enabled bool
    If true, the user has writeaccess to the secrets engine.
    description String
    A user chosen description to differentiate between multiple users. Can't be changed after creation.
    id String
    instanceId String
    ID of the Secrets Manager instance.
    projectId String
    STACKIT Project ID to which the instance is associated.
    userId String
    The user's ID.
    username String
    An auto-generated user name.
    writeEnabled Boolean
    If true, the user has writeaccess to the secrets engine.

    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.