1. Packages
  2. Packages
  3. stackit
  4. API Docs
  5. getSecretsmanagerInstanceRoleBindingsV1
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud

    IAM role binding datasource schema.

    This datasource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

    Example Usage

    data "stackit_secretsmanager_instance_role_bindings_v1" "role_binding" {
      resource_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getSecretsmanagerInstanceRoleBindingsV1

    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 getSecretsmanagerInstanceRoleBindingsV1(args: GetSecretsmanagerInstanceRoleBindingsV1Args, opts?: InvokeOptions): Promise<GetSecretsmanagerInstanceRoleBindingsV1Result>
    function getSecretsmanagerInstanceRoleBindingsV1Output(args: GetSecretsmanagerInstanceRoleBindingsV1OutputArgs, opts?: InvokeOptions): Output<GetSecretsmanagerInstanceRoleBindingsV1Result>
    def get_secretsmanager_instance_role_bindings_v1(region: Optional[str] = None,
                                                     resource_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetSecretsmanagerInstanceRoleBindingsV1Result
    def get_secretsmanager_instance_role_bindings_v1_output(region: pulumi.Input[Optional[str]] = None,
                                                     resource_id: pulumi.Input[Optional[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetSecretsmanagerInstanceRoleBindingsV1Result]
    func GetSecretsmanagerInstanceRoleBindingsV1(ctx *Context, args *GetSecretsmanagerInstanceRoleBindingsV1Args, opts ...InvokeOption) (*GetSecretsmanagerInstanceRoleBindingsV1Result, error)
    func GetSecretsmanagerInstanceRoleBindingsV1Output(ctx *Context, args *GetSecretsmanagerInstanceRoleBindingsV1OutputArgs, opts ...InvokeOption) GetSecretsmanagerInstanceRoleBindingsV1ResultOutput

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

    public static class GetSecretsmanagerInstanceRoleBindingsV1 
    {
        public static Task<GetSecretsmanagerInstanceRoleBindingsV1Result> InvokeAsync(GetSecretsmanagerInstanceRoleBindingsV1Args args, InvokeOptions? opts = null)
        public static Output<GetSecretsmanagerInstanceRoleBindingsV1Result> Invoke(GetSecretsmanagerInstanceRoleBindingsV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecretsmanagerInstanceRoleBindingsV1Result> getSecretsmanagerInstanceRoleBindingsV1(GetSecretsmanagerInstanceRoleBindingsV1Args args, InvokeOptions options)
    public static Output<GetSecretsmanagerInstanceRoleBindingsV1Result> getSecretsmanagerInstanceRoleBindingsV1(GetSecretsmanagerInstanceRoleBindingsV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getSecretsmanagerInstanceRoleBindingsV1:getSecretsmanagerInstanceRoleBindingsV1
      arguments:
        # arguments dictionary
    data "stackit_getsecretsmanagerinstancerolebindingsv1" "name" {
        # arguments
    }

    The following arguments are supported:

    ResourceId string
    The identifier of the resource to get the role bindings for.
    Region string
    The resource region. If not defined, the provider region is used.
    ResourceId string
    The identifier of the resource to get the role bindings for.
    Region string
    The resource region. If not defined, the provider region is used.
    resource_id string
    The identifier of the resource to get the role bindings for.
    region string
    The resource region. If not defined, the provider region is used.
    resourceId String
    The identifier of the resource to get the role bindings for.
    region String
    The resource region. If not defined, the provider region is used.
    resourceId string
    The identifier of the resource to get the role bindings for.
    region string
    The resource region. If not defined, the provider region is used.
    resource_id str
    The identifier of the resource to get the role bindings for.
    region str
    The resource region. If not defined, the provider region is used.
    resourceId String
    The identifier of the resource to get the role bindings for.
    region String
    The resource region. If not defined, the provider region is used.

    getSecretsmanagerInstanceRoleBindingsV1 Result

    The following output properties are available:

    Id string
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    ResourceId string
    The identifier of the resource to get the role bindings for.
    RoleBindings List<GetSecretsmanagerInstanceRoleBindingsV1RoleBinding>
    List of role bindings.
    Region string
    The resource region. If not defined, the provider region is used.
    Id string
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    ResourceId string
    The identifier of the resource to get the role bindings for.
    RoleBindings []GetSecretsmanagerInstanceRoleBindingsV1RoleBinding
    List of role bindings.
    Region string
    The resource region. If not defined, the provider region is used.
    id string
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    resource_id string
    The identifier of the resource to get the role bindings for.
    role_bindings list(object)
    List of role bindings.
    region string
    The resource region. If not defined, the provider region is used.
    id String
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    resourceId String
    The identifier of the resource to get the role bindings for.
    roleBindings List<GetSecretsmanagerInstanceRoleBindingsV1RoleBinding>
    List of role bindings.
    region String
    The resource region. If not defined, the provider region is used.
    id string
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    resourceId string
    The identifier of the resource to get the role bindings for.
    roleBindings GetSecretsmanagerInstanceRoleBindingsV1RoleBinding[]
    List of role bindings.
    region string
    The resource region. If not defined, the provider region is used.
    id str
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    resource_id str
    The identifier of the resource to get the role bindings for.
    role_bindings Sequence[GetSecretsmanagerInstanceRoleBindingsV1RoleBinding]
    List of role bindings.
    region str
    The resource region. If not defined, the provider region is used.
    id String
    Terraform's internal resource identifier. It is structured as "region,resourceId".
    resourceId String
    The identifier of the resource to get the role bindings for.
    roleBindings List<Property Map>
    List of role bindings.
    region String
    The resource region. If not defined, the provider region is used.

    Supporting Types

    GetSecretsmanagerInstanceRoleBindingsV1RoleBinding

    Role string
    A valid role defined for the resource.
    Subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    Role string
    A valid role defined for the resource.
    Subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    role string
    A valid role defined for the resource.
    subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    role String
    A valid role defined for the resource.
    subject String
    Identifier of user, service account or client. Usually email address or name in case of clients.
    role string
    A valid role defined for the resource.
    subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    role str
    A valid role defined for the resource.
    subject str
    Identifier of user, service account or client. Usually email address or name in case of clients.
    role String
    A valid role defined for the resource.
    subject String
    Identifier of user, service account or client. Usually email address or name in case of clients.

    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.6
    published on Wednesday, May 6, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.