1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Redis
  5. OciCacheUser
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.Redis.OciCacheUser

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    This resource provides the Oci Cache User resource in Oracle Cloud Infrastructure Redis service.

    Creates a new Oracle Cloud Infrastructure Cache user. Oracle Cloud Infrastructure Cache user is required to authenticate to Oracle Cloud Infrastructure Cache cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOciCacheUser = new oci.redis.OciCacheUser("test_oci_cache_user", {
        aclString: ociCacheUserAclString,
        authenticationMode: {
            authenticationType: ociCacheUserAuthenticationModeAuthenticationType,
            hashedPasswords: ociCacheUserAuthenticationModeHashedPasswords,
        },
        compartmentId: compartmentId,
        description: ociCacheUserDescription,
        name: ociCacheUserName,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        status: ociCacheUserStatus,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_oci_cache_user = oci.redis.OciCacheUser("test_oci_cache_user",
        acl_string=oci_cache_user_acl_string,
        authentication_mode={
            "authentication_type": oci_cache_user_authentication_mode_authentication_type,
            "hashed_passwords": oci_cache_user_authentication_mode_hashed_passwords,
        },
        compartment_id=compartment_id,
        description=oci_cache_user_description,
        name=oci_cache_user_name,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        status=oci_cache_user_status)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/redis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := redis.NewOciCacheUser(ctx, "test_oci_cache_user", &redis.OciCacheUserArgs{
    			AclString: pulumi.Any(ociCacheUserAclString),
    			AuthenticationMode: &redis.OciCacheUserAuthenticationModeArgs{
    				AuthenticationType: pulumi.Any(ociCacheUserAuthenticationModeAuthenticationType),
    				HashedPasswords:    pulumi.Any(ociCacheUserAuthenticationModeHashedPasswords),
    			},
    			CompartmentId: pulumi.Any(compartmentId),
    			Description:   pulumi.Any(ociCacheUserDescription),
    			Name:          pulumi.Any(ociCacheUserName),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Status: pulumi.Any(ociCacheUserStatus),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testOciCacheUser = new Oci.Redis.OciCacheUser("test_oci_cache_user", new()
        {
            AclString = ociCacheUserAclString,
            AuthenticationMode = new Oci.Redis.Inputs.OciCacheUserAuthenticationModeArgs
            {
                AuthenticationType = ociCacheUserAuthenticationModeAuthenticationType,
                HashedPasswords = ociCacheUserAuthenticationModeHashedPasswords,
            },
            CompartmentId = compartmentId,
            Description = ociCacheUserDescription,
            Name = ociCacheUserName,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Status = ociCacheUserStatus,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Redis.OciCacheUser;
    import com.pulumi.oci.Redis.OciCacheUserArgs;
    import com.pulumi.oci.Redis.inputs.OciCacheUserAuthenticationModeArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testOciCacheUser = new OciCacheUser("testOciCacheUser", OciCacheUserArgs.builder()
                .aclString(ociCacheUserAclString)
                .authenticationMode(OciCacheUserAuthenticationModeArgs.builder()
                    .authenticationType(ociCacheUserAuthenticationModeAuthenticationType)
                    .hashedPasswords(ociCacheUserAuthenticationModeHashedPasswords)
                    .build())
                .compartmentId(compartmentId)
                .description(ociCacheUserDescription)
                .name(ociCacheUserName)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .status(ociCacheUserStatus)
                .build());
    
        }
    }
    
    resources:
      testOciCacheUser:
        type: oci:Redis:OciCacheUser
        name: test_oci_cache_user
        properties:
          aclString: ${ociCacheUserAclString}
          authenticationMode:
            authenticationType: ${ociCacheUserAuthenticationModeAuthenticationType}
            hashedPasswords: ${ociCacheUserAuthenticationModeHashedPasswords}
          compartmentId: ${compartmentId}
          description: ${ociCacheUserDescription}
          name: ${ociCacheUserName}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          status: ${ociCacheUserStatus}
    

    Create OciCacheUser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OciCacheUser(name: string, args: OciCacheUserArgs, opts?: CustomResourceOptions);
    @overload
    def OciCacheUser(resource_name: str,
                     args: OciCacheUserArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def OciCacheUser(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     acl_string: Optional[str] = None,
                     authentication_mode: Optional[OciCacheUserAuthenticationModeArgs] = None,
                     compartment_id: Optional[str] = None,
                     description: Optional[str] = None,
                     defined_tags: Optional[Mapping[str, str]] = None,
                     freeform_tags: Optional[Mapping[str, str]] = None,
                     name: Optional[str] = None,
                     status: Optional[str] = None)
    func NewOciCacheUser(ctx *Context, name string, args OciCacheUserArgs, opts ...ResourceOption) (*OciCacheUser, error)
    public OciCacheUser(string name, OciCacheUserArgs args, CustomResourceOptions? opts = null)
    public OciCacheUser(String name, OciCacheUserArgs args)
    public OciCacheUser(String name, OciCacheUserArgs args, CustomResourceOptions options)
    
    type: oci:Redis:OciCacheUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OciCacheUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OciCacheUserArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OciCacheUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OciCacheUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OciCacheUserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ociCacheUserResource = new Oci.Redis.OciCacheUser("ociCacheUserResource", new()
    {
        AclString = "string",
        AuthenticationMode = new Oci.Redis.Inputs.OciCacheUserAuthenticationModeArgs
        {
            AuthenticationType = "string",
            HashedPasswords = new[]
            {
                "string",
            },
        },
        CompartmentId = "string",
        Description = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        Name = "string",
        Status = "string",
    });
    
    example, err := redis.NewOciCacheUser(ctx, "ociCacheUserResource", &redis.OciCacheUserArgs{
    	AclString: pulumi.String("string"),
    	AuthenticationMode: &redis.OciCacheUserAuthenticationModeArgs{
    		AuthenticationType: pulumi.String("string"),
    		HashedPasswords: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	CompartmentId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:   pulumi.String("string"),
    	Status: pulumi.String("string"),
    })
    
    var ociCacheUserResource = new OciCacheUser("ociCacheUserResource", OciCacheUserArgs.builder()
        .aclString("string")
        .authenticationMode(OciCacheUserAuthenticationModeArgs.builder()
            .authenticationType("string")
            .hashedPasswords("string")
            .build())
        .compartmentId("string")
        .description("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .name("string")
        .status("string")
        .build());
    
    oci_cache_user_resource = oci.redis.OciCacheUser("ociCacheUserResource",
        acl_string="string",
        authentication_mode={
            "authentication_type": "string",
            "hashed_passwords": ["string"],
        },
        compartment_id="string",
        description="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        name="string",
        status="string")
    
    const ociCacheUserResource = new oci.redis.OciCacheUser("ociCacheUserResource", {
        aclString: "string",
        authenticationMode: {
            authenticationType: "string",
            hashedPasswords: ["string"],
        },
        compartmentId: "string",
        description: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        name: "string",
        status: "string",
    });
    
    type: oci:Redis:OciCacheUser
    properties:
        aclString: string
        authenticationMode:
            authenticationType: string
            hashedPasswords:
                - string
        compartmentId: string
        definedTags:
            string: string
        description: string
        freeformTags:
            string: string
        name: string
        status: string
    

    OciCacheUser Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OciCacheUser resource accepts the following input properties:

    AclString string
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    AuthenticationMode OciCacheUserAuthenticationMode
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    CompartmentId string
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    Description string
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Name string
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    Status string

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    AclString string
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    AuthenticationMode OciCacheUserAuthenticationModeArgs
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    CompartmentId string
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    Description string
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Name string
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    Status string

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    aclString String
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authenticationMode OciCacheUserAuthenticationMode
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartmentId String
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    description String
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name String
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    status String

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    aclString string
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authenticationMode OciCacheUserAuthenticationMode
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartmentId string
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    description string
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name string
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    status string

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    acl_string str
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authentication_mode OciCacheUserAuthenticationModeArgs
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartment_id str
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    description str
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name str
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    status str

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    aclString String
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authenticationMode Property Map
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartmentId String
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    description String
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name String
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    status String

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OciCacheUser resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    Oracle Cloud Infrastructure Cache user lifecycle state.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    TimeUpdated string
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    Oracle Cloud Infrastructure Cache user lifecycle state.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    TimeUpdated string
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    Oracle Cloud Infrastructure Cache user lifecycle state.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    timeUpdated String
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    Oracle Cloud Infrastructure Cache user lifecycle state.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    timeUpdated string
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    Oracle Cloud Infrastructure Cache user lifecycle state.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    time_updated str
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    Oracle Cloud Infrastructure Cache user lifecycle state.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    timeUpdated String
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.

    Look up Existing OciCacheUser Resource

    Get an existing OciCacheUser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OciCacheUserState, opts?: CustomResourceOptions): OciCacheUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acl_string: Optional[str] = None,
            authentication_mode: Optional[OciCacheUserAuthenticationModeArgs] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> OciCacheUser
    func GetOciCacheUser(ctx *Context, name string, id IDInput, state *OciCacheUserState, opts ...ResourceOption) (*OciCacheUser, error)
    public static OciCacheUser Get(string name, Input<string> id, OciCacheUserState? state, CustomResourceOptions? opts = null)
    public static OciCacheUser get(String name, Output<String> id, OciCacheUserState state, CustomResourceOptions options)
    resources:  _:    type: oci:Redis:OciCacheUser    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AclString string
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    AuthenticationMode OciCacheUserAuthenticationMode
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    CompartmentId string
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Name string
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    State string
    Oracle Cloud Infrastructure Cache user lifecycle state.
    Status string

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    TimeUpdated string
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    AclString string
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    AuthenticationMode OciCacheUserAuthenticationModeArgs
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    CompartmentId string
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Name string
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    State string
    Oracle Cloud Infrastructure Cache user lifecycle state.
    Status string

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    TimeUpdated string
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    aclString String
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authenticationMode OciCacheUserAuthenticationMode
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartmentId String
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name String
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    state String
    Oracle Cloud Infrastructure Cache user lifecycle state.
    status String

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    timeUpdated String
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    aclString string
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authenticationMode OciCacheUserAuthenticationMode
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartmentId string
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name string
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    state string
    Oracle Cloud Infrastructure Cache user lifecycle state.
    status string

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    timeUpdated string
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    acl_string str
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authentication_mode OciCacheUserAuthenticationModeArgs
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartment_id str
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name str
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    state str
    Oracle Cloud Infrastructure Cache user lifecycle state.
    status str

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    time_updated str
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.
    aclString String
    (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
    authenticationMode Property Map
    (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
    compartmentId String
    (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description of Oracle Cloud Infrastructure cache user.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    name String
    Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
    state String
    Oracle Cloud Infrastructure Cache user lifecycle state.
    status String

    (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.

    ** 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

    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time, when the Oracle Cloud Infrastructure cache user was created.
    timeUpdated String
    The date and time, when the Oracle Cloud Infrastructure cache user was updated.

    Supporting Types

    OciCacheUserAuthenticationMode, OciCacheUserAuthenticationModeArgs

    AuthenticationType string
    (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
    HashedPasswords List<string>
    (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
    AuthenticationType string
    (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
    HashedPasswords []string
    (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
    authenticationType String
    (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
    hashedPasswords List<String>
    (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
    authenticationType string
    (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
    hashedPasswords string[]
    (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
    authentication_type str
    (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
    hashed_passwords Sequence[str]
    (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.
    authenticationType String
    (Updatable) This is Authentication Type of Oracle Cloud Infrastructure cache user
    hashedPasswords List<String>
    (Updatable) SHA-256 hashed passwords for Oracle Cloud Infrastructure Cache user,required if authenticationType is set to PASSWORD.

    Import

    OciCacheUsers can be imported using the id, e.g.

    $ pulumi import oci:Redis/ociCacheUser:OciCacheUser test_oci_cache_user "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi