aiven.ValkeyUser
Explore with Pulumi AI
Creates and manages an Aiven for Valkey™ service user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
// Example user with read-only access for analytics
const readAnalytics = new aiven.ValkeyUser("read_analytics", {
project: exampleProject.project,
serviceName: exampleValkey.serviceName,
username: "example-analytics-reader",
password: valkeyUserPw,
valkeyAclCategories: ["+@read"],
valkeyAclCommands: [
"+get",
"+set",
"+mget",
"+hget",
"+zrange",
],
valkeyAclKeys: ["analytics:*"],
});
// Example user with restricted write access for session management
const manageSessions = new aiven.ValkeyUser("manage_sessions", {
project: exampleProject.project,
serviceName: exampleValkey.serviceName,
username: "example-session-manager",
password: valkeyUserPw,
valkeyAclCategories: [
"+@write",
"+@keyspace",
],
valkeyAclCommands: [
"+set",
"+del",
"+expire",
"-flushall",
"-flushdb",
],
valkeyAclKeys: ["session:*"],
});
import pulumi
import pulumi_aiven as aiven
# Example user with read-only access for analytics
read_analytics = aiven.ValkeyUser("read_analytics",
project=example_project["project"],
service_name=example_valkey["serviceName"],
username="example-analytics-reader",
password=valkey_user_pw,
valkey_acl_categories=["+@read"],
valkey_acl_commands=[
"+get",
"+set",
"+mget",
"+hget",
"+zrange",
],
valkey_acl_keys=["analytics:*"])
# Example user with restricted write access for session management
manage_sessions = aiven.ValkeyUser("manage_sessions",
project=example_project["project"],
service_name=example_valkey["serviceName"],
username="example-session-manager",
password=valkey_user_pw,
valkey_acl_categories=[
"+@write",
"+@keyspace",
],
valkey_acl_commands=[
"+set",
"+del",
"+expire",
"-flushall",
"-flushdb",
],
valkey_acl_keys=["session:*"])
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Example user with read-only access for analytics
_, err := aiven.NewValkeyUser(ctx, "read_analytics", &aiven.ValkeyUserArgs{
Project: pulumi.Any(exampleProject.Project),
ServiceName: pulumi.Any(exampleValkey.ServiceName),
Username: pulumi.String("example-analytics-reader"),
Password: pulumi.Any(valkeyUserPw),
ValkeyAclCategories: pulumi.StringArray{
pulumi.String("+@read"),
},
ValkeyAclCommands: pulumi.StringArray{
pulumi.String("+get"),
pulumi.String("+set"),
pulumi.String("+mget"),
pulumi.String("+hget"),
pulumi.String("+zrange"),
},
ValkeyAclKeys: pulumi.StringArray{
pulumi.String("analytics:*"),
},
})
if err != nil {
return err
}
// Example user with restricted write access for session management
_, err = aiven.NewValkeyUser(ctx, "manage_sessions", &aiven.ValkeyUserArgs{
Project: pulumi.Any(exampleProject.Project),
ServiceName: pulumi.Any(exampleValkey.ServiceName),
Username: pulumi.String("example-session-manager"),
Password: pulumi.Any(valkeyUserPw),
ValkeyAclCategories: pulumi.StringArray{
pulumi.String("+@write"),
pulumi.String("+@keyspace"),
},
ValkeyAclCommands: pulumi.StringArray{
pulumi.String("+set"),
pulumi.String("+del"),
pulumi.String("+expire"),
pulumi.String("-flushall"),
pulumi.String("-flushdb"),
},
ValkeyAclKeys: pulumi.StringArray{
pulumi.String("session:*"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
// Example user with read-only access for analytics
var readAnalytics = new Aiven.ValkeyUser("read_analytics", new()
{
Project = exampleProject.Project,
ServiceName = exampleValkey.ServiceName,
Username = "example-analytics-reader",
Password = valkeyUserPw,
ValkeyAclCategories = new[]
{
"+@read",
},
ValkeyAclCommands = new[]
{
"+get",
"+set",
"+mget",
"+hget",
"+zrange",
},
ValkeyAclKeys = new[]
{
"analytics:*",
},
});
// Example user with restricted write access for session management
var manageSessions = new Aiven.ValkeyUser("manage_sessions", new()
{
Project = exampleProject.Project,
ServiceName = exampleValkey.ServiceName,
Username = "example-session-manager",
Password = valkeyUserPw,
ValkeyAclCategories = new[]
{
"+@write",
"+@keyspace",
},
ValkeyAclCommands = new[]
{
"+set",
"+del",
"+expire",
"-flushall",
"-flushdb",
},
ValkeyAclKeys = new[]
{
"session:*",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.ValkeyUser;
import com.pulumi.aiven.ValkeyUserArgs;
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) {
// Example user with read-only access for analytics
var readAnalytics = new ValkeyUser("readAnalytics", ValkeyUserArgs.builder()
.project(exampleProject.project())
.serviceName(exampleValkey.serviceName())
.username("example-analytics-reader")
.password(valkeyUserPw)
.valkeyAclCategories("+@read")
.valkeyAclCommands(
"+get",
"+set",
"+mget",
"+hget",
"+zrange")
.valkeyAclKeys("analytics:*")
.build());
// Example user with restricted write access for session management
var manageSessions = new ValkeyUser("manageSessions", ValkeyUserArgs.builder()
.project(exampleProject.project())
.serviceName(exampleValkey.serviceName())
.username("example-session-manager")
.password(valkeyUserPw)
.valkeyAclCategories(
"+@write",
"+@keyspace")
.valkeyAclCommands(
"+set",
"+del",
"+expire",
"-flushall",
"-flushdb")
.valkeyAclKeys("session:*")
.build());
}
}
resources:
# Example user with read-only access for analytics
readAnalytics:
type: aiven:ValkeyUser
name: read_analytics
properties:
project: ${exampleProject.project}
serviceName: ${exampleValkey.serviceName}
username: example-analytics-reader
password: ${valkeyUserPw}
valkeyAclCategories:
- +@read
valkeyAclCommands:
- +get
- +set
- +mget
- +hget
- +zrange
valkeyAclKeys:
- analytics:*
# Example user with restricted write access for session management
manageSessions:
type: aiven:ValkeyUser
name: manage_sessions
properties:
project: ${exampleProject.project}
serviceName: ${exampleValkey.serviceName}
username: example-session-manager
password: ${valkeyUserPw}
valkeyAclCategories:
- +@write
- +@keyspace
valkeyAclCommands:
- +set
- +del
- +expire
- -flushall
- -flushdb
valkeyAclKeys:
- session:*
Create ValkeyUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ValkeyUser(name: string, args: ValkeyUserArgs, opts?: CustomResourceOptions);
@overload
def ValkeyUser(resource_name: str,
args: ValkeyUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ValkeyUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
valkey_acl_categories: Optional[Sequence[str]] = None,
valkey_acl_channels: Optional[Sequence[str]] = None,
valkey_acl_commands: Optional[Sequence[str]] = None,
valkey_acl_keys: Optional[Sequence[str]] = None)
func NewValkeyUser(ctx *Context, name string, args ValkeyUserArgs, opts ...ResourceOption) (*ValkeyUser, error)
public ValkeyUser(string name, ValkeyUserArgs args, CustomResourceOptions? opts = null)
public ValkeyUser(String name, ValkeyUserArgs args)
public ValkeyUser(String name, ValkeyUserArgs args, CustomResourceOptions options)
type: aiven:ValkeyUser
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ValkeyUserArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ValkeyUserArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ValkeyUserArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ValkeyUserArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ValkeyUserArgs - 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 valkeyUserResource = new Aiven.ValkeyUser("valkeyUserResource", new()
{
Project = "string",
ServiceName = "string",
Username = "string",
Password = "string",
ValkeyAclCategories = new[]
{
"string",
},
ValkeyAclChannels = new[]
{
"string",
},
ValkeyAclCommands = new[]
{
"string",
},
ValkeyAclKeys = new[]
{
"string",
},
});
example, err := aiven.NewValkeyUser(ctx, "valkeyUserResource", &aiven.ValkeyUserArgs{
Project: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Username: pulumi.String("string"),
Password: pulumi.String("string"),
ValkeyAclCategories: pulumi.StringArray{
pulumi.String("string"),
},
ValkeyAclChannels: pulumi.StringArray{
pulumi.String("string"),
},
ValkeyAclCommands: pulumi.StringArray{
pulumi.String("string"),
},
ValkeyAclKeys: pulumi.StringArray{
pulumi.String("string"),
},
})
var valkeyUserResource = new ValkeyUser("valkeyUserResource", ValkeyUserArgs.builder()
.project("string")
.serviceName("string")
.username("string")
.password("string")
.valkeyAclCategories("string")
.valkeyAclChannels("string")
.valkeyAclCommands("string")
.valkeyAclKeys("string")
.build());
valkey_user_resource = aiven.ValkeyUser("valkeyUserResource",
project="string",
service_name="string",
username="string",
password="string",
valkey_acl_categories=["string"],
valkey_acl_channels=["string"],
valkey_acl_commands=["string"],
valkey_acl_keys=["string"])
const valkeyUserResource = new aiven.ValkeyUser("valkeyUserResource", {
project: "string",
serviceName: "string",
username: "string",
password: "string",
valkeyAclCategories: ["string"],
valkeyAclChannels: ["string"],
valkeyAclCommands: ["string"],
valkeyAclKeys: ["string"],
});
type: aiven:ValkeyUser
properties:
password: string
project: string
serviceName: string
username: string
valkeyAclCategories:
- string
valkeyAclChannels:
- string
valkeyAclCommands:
- string
valkeyAclKeys:
- string
ValkeyUser 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 ValkeyUser resource accepts the following input properties:
- Project
This property is required. Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name This property is required. Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Username
This property is required. Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Password string
- The Valkey service user's password.
- Valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- Valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- Project
This property is required. Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name This property is required. Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Username
This property is required. Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Password string
- The Valkey service user's password.
- Valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- Valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- project
This property is required. Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- username
This property is required. Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- password String
- The Valkey service user's password.
- valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- project
This property is required. Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- username
This property is required. Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- password string
- The Valkey service user's password.
- valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- project
This property is required. Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service_
name This property is required. Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- username
This property is required. Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- password str
- The Valkey service user's password.
- valkey_
acl_ categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey_
acl_ channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey_
acl_ commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey_
acl_ keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- project
This property is required. Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name This property is required. Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- username
This property is required. Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- password String
- The Valkey service user's password.
- valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ValkeyUser resource produces the following output properties:
Look up Existing ValkeyUser Resource
Get an existing ValkeyUser 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?: ValkeyUserState, opts?: CustomResourceOptions): ValkeyUser
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
password: Optional[str] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
type: Optional[str] = None,
username: Optional[str] = None,
valkey_acl_categories: Optional[Sequence[str]] = None,
valkey_acl_channels: Optional[Sequence[str]] = None,
valkey_acl_commands: Optional[Sequence[str]] = None,
valkey_acl_keys: Optional[Sequence[str]] = None) -> ValkeyUser
func GetValkeyUser(ctx *Context, name string, id IDInput, state *ValkeyUserState, opts ...ResourceOption) (*ValkeyUser, error)
public static ValkeyUser Get(string name, Input<string> id, ValkeyUserState? state, CustomResourceOptions? opts = null)
public static ValkeyUser get(String name, Output<String> id, ValkeyUserState state, CustomResourceOptions options)
resources: _: type: aiven:ValkeyUser get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Password string
- The Valkey service user's password.
- Project
Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Type string
- User account type, such as primary or regular account.
- Username
Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- Valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- Password string
- The Valkey service user's password.
- Project
Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Type string
- User account type, such as primary or regular account.
- Username
Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- Valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - Valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- password String
- The Valkey service user's password.
- project
Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- type String
- User account type, such as primary or regular account.
- username
Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- password string
- The Valkey service user's password.
- project
Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- type string
- User account type, such as primary or regular account.
- username
Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- password str
- The Valkey service user's password.
- project
Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service_
name Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- type str
- User account type, such as primary or regular account.
- username
Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- valkey_
acl_ categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey_
acl_ channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey_
acl_ commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey_
acl_ keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
- password String
- The Valkey service user's password.
- project
Changes to this property will trigger replacement.
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name Changes to this property will trigger replacement.
- The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- type String
- User account type, such as primary or regular account.
- username
Changes to this property will trigger replacement.
- Name of the Valkey service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- valkey
Acl Categories Changes to this property will trigger replacement.
- Allow or disallow command categories. To allow a category use the prefix
+@
and to disallow use-@
. See the Valkey documentation for details on the ACL feature. The field is required withvalkey_acl_commands
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Channels Changes to this property will trigger replacement.
- Allows and disallows access to pub/sub channels. Entries are defined as standard glob patterns. Changing this property forces recreation of the resource.
- valkey
Acl Commands Changes to this property will trigger replacement.
- Defines rules for individual commands. To allow a command use the prefix
+
and to disallow use-
. The field is required withvalkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource. - valkey
Acl Keys Changes to this property will trigger replacement.
- Key access rules. Entries are defined as standard glob patterns. The field is required with
valkey_acl_categories
andvalkey_acl_keys
. Changing this property forces recreation of the resource.
Import
$ pulumi import aiven:index/valkeyUser:ValkeyUser example_valkey PROJECT/SERVICE_NAME/USERNAME
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.