--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "stackit_redis_credential Resource - stackit" subcategory: "" description: |- Redis credential resource schema. Must have a region specified in the provider configuration. --- # stackit_redis_credential (Resource) Redis credential resource schema. Must have a `region` specified in the provider configuration. ## Example Usage ```terraform resource "stackit_redis_credential" "example" { project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" } # Only use the import statement, if you want to import an existing redis credential import { to = stackit_redis_credential.import-example id = "${var.project_id},${var.redis_instance_id},${var.redis_credential_id}" } ``` ## Schema ### Required - `instance_id` (String) ID of the Redis instance. - `project_id` (String) STACKIT Project ID to which the instance is associated. ### Read-Only - `credential_id` (String) The credential's ID. - `host` (String) - `hosts` (List of String) - `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`instance_id`,`credential_id`". - `load_balanced_host` (String) - `password` (String, Sensitive) - `port` (Number) - `uri` (String, Sensitive) Connection URI. - `username` (String)