1. Packages
  2. stackit
  3. API Docs
  4. getRabbitmqCredential
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

    RabbitMQ credential data source schema. Must have a region specified in the provider configuration.

    Example Usage

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

    Using getRabbitmqCredential

    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 getRabbitmqCredential(args: GetRabbitmqCredentialArgs, opts?: InvokeOptions): Promise<GetRabbitmqCredentialResult>
    function getRabbitmqCredentialOutput(args: GetRabbitmqCredentialOutputArgs, opts?: InvokeOptions): Output<GetRabbitmqCredentialResult>
    def get_rabbitmq_credential(credential_id: Optional[str] = None,
                                instance_id: Optional[str] = None,
                                project_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetRabbitmqCredentialResult
    def get_rabbitmq_credential_output(credential_id: Optional[pulumi.Input[str]] = None,
                                instance_id: Optional[pulumi.Input[str]] = None,
                                project_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetRabbitmqCredentialResult]
    func LookupRabbitmqCredential(ctx *Context, args *LookupRabbitmqCredentialArgs, opts ...InvokeOption) (*LookupRabbitmqCredentialResult, error)
    func LookupRabbitmqCredentialOutput(ctx *Context, args *LookupRabbitmqCredentialOutputArgs, opts ...InvokeOption) LookupRabbitmqCredentialResultOutput

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

    public static class GetRabbitmqCredential 
    {
        public static Task<GetRabbitmqCredentialResult> InvokeAsync(GetRabbitmqCredentialArgs args, InvokeOptions? opts = null)
        public static Output<GetRabbitmqCredentialResult> Invoke(GetRabbitmqCredentialInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRabbitmqCredentialResult> getRabbitmqCredential(GetRabbitmqCredentialArgs args, InvokeOptions options)
    public static Output<GetRabbitmqCredentialResult> getRabbitmqCredential(GetRabbitmqCredentialArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getRabbitmqCredential:getRabbitmqCredential
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CredentialId string
    The credential's ID.
    InstanceId string
    ID of the RabbitMQ instance.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    CredentialId string
    The credential's ID.
    InstanceId string
    ID of the RabbitMQ instance.
    ProjectId string
    STACKIT project ID to which the instance is associated.
    credentialId String
    The credential's ID.
    instanceId String
    ID of the RabbitMQ instance.
    projectId String
    STACKIT project ID to which the instance is associated.
    credentialId string
    The credential's ID.
    instanceId string
    ID of the RabbitMQ instance.
    projectId string
    STACKIT project ID to which the instance is associated.
    credential_id str
    The credential's ID.
    instance_id str
    ID of the RabbitMQ instance.
    project_id str
    STACKIT project ID to which the instance is associated.
    credentialId String
    The credential's ID.
    instanceId String
    ID of the RabbitMQ instance.
    projectId String
    STACKIT project ID to which the instance is associated.

    getRabbitmqCredential Result

    The following output properties are available:

    CredentialId string
    The credential's ID.
    Host string
    Hosts List<string>
    HttpApiUri string
    HttpApiUris List<string>
    Id string
    InstanceId string
    ID of the RabbitMQ instance.
    Management string
    Password string
    Port int
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Uri string
    Uris List<string>
    Username string
    CredentialId string
    The credential's ID.
    Host string
    Hosts []string
    HttpApiUri string
    HttpApiUris []string
    Id string
    InstanceId string
    ID of the RabbitMQ instance.
    Management string
    Password string
    Port int
    ProjectId string
    STACKIT project ID to which the instance is associated.
    Uri string
    Uris []string
    Username string
    credentialId String
    The credential's ID.
    host String
    hosts List<String>
    httpApiUri String
    httpApiUris List<String>
    id String
    instanceId String
    ID of the RabbitMQ instance.
    management String
    password String
    port Integer
    projectId String
    STACKIT project ID to which the instance is associated.
    uri String
    uris List<String>
    username String
    credentialId string
    The credential's ID.
    host string
    hosts string[]
    httpApiUri string
    httpApiUris string[]
    id string
    instanceId string
    ID of the RabbitMQ instance.
    management string
    password string
    port number
    projectId string
    STACKIT project ID to which the instance is associated.
    uri string
    uris string[]
    username string
    credential_id str
    The credential's ID.
    host str
    hosts Sequence[str]
    http_api_uri str
    http_api_uris Sequence[str]
    id str
    instance_id str
    ID of the RabbitMQ instance.
    management str
    password str
    port int
    project_id str
    STACKIT project ID to which the instance is associated.
    uri str
    uris Sequence[str]
    username str
    credentialId String
    The credential's ID.
    host String
    hosts List<String>
    httpApiUri String
    httpApiUris List<String>
    id String
    instanceId String
    ID of the RabbitMQ instance.
    management String
    password String
    port Number
    projectId String
    STACKIT project ID to which the instance is associated.
    uri String
    uris List<String>
    username String

    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.