CreateIdentityTokenDetails

class oci.redis.models.CreateIdentityTokenDetails(**kwargs)

Bases: object

Generate an Identity token for Redis cluster

Methods

__init__(**kwargs) Initializes a new CreateIdentityTokenDetails object with values from keyword arguments.

Attributes

defined_tags Gets the defined_tags of this CreateIdentityTokenDetails.
freeform_tags Gets the freeform_tags of this CreateIdentityTokenDetails.
public_key [Required] Gets the public_key of this CreateIdentityTokenDetails.
redis_user [Required] Gets the redis_user of this CreateIdentityTokenDetails.
__init__(**kwargs)

Initializes a new CreateIdentityTokenDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • public_key (str) – The value to assign to the public_key property of this CreateIdentityTokenDetails.
  • redis_user (str) – The value to assign to the redis_user property of this CreateIdentityTokenDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateIdentityTokenDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateIdentityTokenDetails.
defined_tags

Gets the defined_tags of this CreateIdentityTokenDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateIdentityTokenDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this CreateIdentityTokenDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateIdentityTokenDetails.
Return type:dict(str, str)
public_key

[Required] Gets the public_key of this CreateIdentityTokenDetails. User public key pair

Returns:The public_key of this CreateIdentityTokenDetails.
Return type:str
redis_user

[Required] Gets the redis_user of this CreateIdentityTokenDetails. Redis User generating identity token.

Returns:The redis_user of this CreateIdentityTokenDetails.
Return type:str