Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
OpenSearch credential data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_opensearch_credential" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
credential_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getOpensearchCredential
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 getOpensearchCredential(args: GetOpensearchCredentialArgs, opts?: InvokeOptions): Promise<GetOpensearchCredentialResult>
function getOpensearchCredentialOutput(args: GetOpensearchCredentialOutputArgs, opts?: InvokeOptions): Output<GetOpensearchCredentialResult>def get_opensearch_credential(credential_id: Optional[str] = None,
instance_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOpensearchCredentialResult
def get_opensearch_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[GetOpensearchCredentialResult]func LookupOpensearchCredential(ctx *Context, args *LookupOpensearchCredentialArgs, opts ...InvokeOption) (*LookupOpensearchCredentialResult, error)
func LookupOpensearchCredentialOutput(ctx *Context, args *LookupOpensearchCredentialOutputArgs, opts ...InvokeOption) LookupOpensearchCredentialResultOutput> Note: This function is named LookupOpensearchCredential in the Go SDK.
public static class GetOpensearchCredential
{
public static Task<GetOpensearchCredentialResult> InvokeAsync(GetOpensearchCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetOpensearchCredentialResult> Invoke(GetOpensearchCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOpensearchCredentialResult> getOpensearchCredential(GetOpensearchCredentialArgs args, InvokeOptions options)
public static Output<GetOpensearchCredentialResult> getOpensearchCredential(GetOpensearchCredentialArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getOpensearchCredential:getOpensearchCredential
arguments:
# arguments dictionaryThe following arguments are supported:
- Credential
Id string - The credential's ID.
- Instance
Id string - ID of the OpenSearch instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Credential
Id string - The credential's ID.
- Instance
Id string - ID of the OpenSearch instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- credential
Id String - The credential's ID.
- instance
Id String - ID of the OpenSearch instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- credential
Id string - The credential's ID.
- instance
Id string - ID of the OpenSearch instance.
- project
Id string - STACKIT project ID to which the instance is associated.
- credential_
id str - The credential's ID.
- instance_
id str - ID of the OpenSearch instance.
- project_
id str - STACKIT project ID to which the instance is associated.
- credential
Id String - The credential's ID.
- instance
Id String - ID of the OpenSearch instance.
- project
Id String - STACKIT project ID to which the instance is associated.
getOpensearchCredential Result
The following output properties are available:
- credential_
id str - The credential's ID.
- host str
- hosts Sequence[str]
- id str
- instance_
id str - ID of the OpenSearch instance.
- password str
- port int
- project_
id str - STACKIT project ID to which the instance is associated.
- scheme str
- uri str
- username str
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
