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
Redis credential data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_redis_credential" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
credential_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getRedisCredential
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 getRedisCredential(args: GetRedisCredentialArgs, opts?: InvokeOptions): Promise<GetRedisCredentialResult>
function getRedisCredentialOutput(args: GetRedisCredentialOutputArgs, opts?: InvokeOptions): Output<GetRedisCredentialResult>def get_redis_credential(credential_id: Optional[str] = None,
instance_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRedisCredentialResult
def get_redis_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[GetRedisCredentialResult]func LookupRedisCredential(ctx *Context, args *LookupRedisCredentialArgs, opts ...InvokeOption) (*LookupRedisCredentialResult, error)
func LookupRedisCredentialOutput(ctx *Context, args *LookupRedisCredentialOutputArgs, opts ...InvokeOption) LookupRedisCredentialResultOutput> Note: This function is named LookupRedisCredential in the Go SDK.
public static class GetRedisCredential
{
public static Task<GetRedisCredentialResult> InvokeAsync(GetRedisCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetRedisCredentialResult> Invoke(GetRedisCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRedisCredentialResult> getRedisCredential(GetRedisCredentialArgs args, InvokeOptions options)
public static Output<GetRedisCredentialResult> getRedisCredential(GetRedisCredentialArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getRedisCredential:getRedisCredential
arguments:
# arguments dictionaryThe following arguments are supported:
- Credential
Id string - The credential's ID.
- Instance
Id string - ID of the Redis 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 Redis 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 Redis 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 Redis 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 Redis 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 Redis instance.
- project
Id String - STACKIT project ID to which the instance is associated.
getRedisCredential Result
The following output properties are available:
- Credential
Id string - The credential's ID.
- Host string
- Hosts List<string>
- Id string
- Instance
Id string - ID of the Redis instance.
- Load
Balanced stringHost - Password string
- Port int
- Project
Id string - STACKIT project ID to which the instance is associated.
- Uri string
- Connection URI.
- Username string
- Credential
Id string - The credential's ID.
- Host string
- Hosts []string
- Id string
- Instance
Id string - ID of the Redis instance.
- Load
Balanced stringHost - Password string
- Port int
- Project
Id string - STACKIT project ID to which the instance is associated.
- Uri string
- Connection URI.
- Username string
- credential
Id String - The credential's ID.
- host String
- hosts List<String>
- id String
- instance
Id String - ID of the Redis instance.
- load
Balanced StringHost - password String
- port Integer
- project
Id String - STACKIT project ID to which the instance is associated.
- uri String
- Connection URI.
- username String
- credential
Id string - The credential's ID.
- host string
- hosts string[]
- id string
- instance
Id string - ID of the Redis instance.
- load
Balanced stringHost - password string
- port number
- project
Id string - STACKIT project ID to which the instance is associated.
- uri string
- Connection URI.
- username string
- credential_
id str - The credential's ID.
- host str
- hosts Sequence[str]
- id str
- instance_
id str - ID of the Redis instance.
- load_
balanced_ strhost - password str
- port int
- project_
id str - STACKIT project ID to which the instance is associated.
- uri str
- Connection URI.
- username str
- credential
Id String - The credential's ID.
- host String
- hosts List<String>
- id String
- instance
Id String - ID of the Redis instance.
- load
Balanced StringHost - password String
- port Number
- project
Id String - STACKIT project ID to which the instance is associated.
- uri String
- Connection URI.
- username String
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
