oci_redis_redis_cluster_create_identity_token
This resource provides the Redis Cluster Create Identity Token resource in Oracle Cloud Infrastructure Redis service.
Generates an identity token to sign in with the specified redis user for the redis cluster
Example Usage
resource "oci_redis_redis_cluster_create_identity_token" "test_redis_cluster_create_identity_token" {
#Required
public_key = var.redis_cluster_create_identity_token_public_key
redis_cluster_id = oci_redis_redis_cluster.test_redis_cluster.id
redis_user = var.redis_cluster_create_identity_token_redis_user
#Optional
defined_tags = var.redis_cluster_create_identity_token_defined_tags
freeform_tags = var.redis_cluster_create_identity_token_freeform_tags
}
Argument Reference
The following arguments are supported:
defined_tags
- (Optional) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
freeform_tags
- (Optional) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
public_key
- (Required) User public key pairredis_cluster_id
- (Required) The OCID of the cluster.redis_user
- (Required) Redis User generating identity token.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Attributes Reference
The following attributes are exported:
identity_token
- Generated Identity tokenredis_user
- Redis user for the newly created identity token
Timeouts
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Redis Cluster Create Identity Token
* update
- (Defaults to 20 minutes), when updating the Redis Cluster Create Identity Token
* delete
- (Defaults to 20 minutes), when destroying the Redis Cluster Create Identity Token
Import
Import is not supported for this resource.