1. Packages
  2. Aiven Provider
  3. API Docs
  4. ServiceUser
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    The Service User resource allows the creation and management of Aiven Service Users.

    Example Usage

    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var myserviceuser = new Aiven.ServiceUser("myserviceuser", new Aiven.ServiceUserArgs
            {
                Project = aiven_project.Myproject.Project,
                ServiceName = aiven_service.Myservice.Service_name,
                Username = "<USERNAME>",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewServiceUser(ctx, "myserviceuser", &aiven.ServiceUserArgs{
    			Project:     pulumi.Any(aiven_project.Myproject.Project),
    			ServiceName: pulumi.Any(aiven_service.Myservice.Service_name),
    			Username:    pulumi.String("<USERNAME>"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const myserviceuser = new aiven.ServiceUser("myserviceuser", {
        project: aiven_project.myproject.project,
        serviceName: aiven_service.myservice.service_name,
        username: "<USERNAME>",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    myserviceuser = aiven.ServiceUser("myserviceuser",
        project=aiven_project["myproject"]["project"],
        service_name=aiven_service["myservice"]["service_name"],
        username="<USERNAME>")
    

    Example coming soon!

    Create ServiceUser Resource

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

    Constructor syntax

    new ServiceUser(name: string, args: ServiceUserArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceUser(resource_name: str,
                    args: ServiceUserArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceUser(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    project: Optional[str] = None,
                    service_name: Optional[str] = None,
                    username: Optional[str] = None,
                    authentication: Optional[str] = None,
                    password: Optional[str] = None,
                    pg_allow_replication: Optional[bool] = None,
                    redis_acl_categories: Optional[Sequence[str]] = None,
                    redis_acl_channels: Optional[Sequence[str]] = None,
                    redis_acl_commands: Optional[Sequence[str]] = None,
                    redis_acl_keys: Optional[Sequence[str]] = None)
    func NewServiceUser(ctx *Context, name string, args ServiceUserArgs, opts ...ResourceOption) (*ServiceUser, error)
    public ServiceUser(string name, ServiceUserArgs args, CustomResourceOptions? opts = null)
    public ServiceUser(String name, ServiceUserArgs args)
    public ServiceUser(String name, ServiceUserArgs args, CustomResourceOptions options)
    
    type: aiven:ServiceUser
    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 ServiceUserArgs
    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 ServiceUserArgs
    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 ServiceUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceUserArgs
    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 serviceUserResource = new Aiven.ServiceUser("serviceUserResource", new()
    {
        Project = "string",
        ServiceName = "string",
        Username = "string",
        Authentication = "string",
        Password = "string",
        PgAllowReplication = false,
        RedisAclCategories = new[]
        {
            "string",
        },
        RedisAclChannels = new[]
        {
            "string",
        },
        RedisAclCommands = new[]
        {
            "string",
        },
        RedisAclKeys = new[]
        {
            "string",
        },
    });
    
    example, err := aiven.NewServiceUser(ctx, "serviceUserResource", &aiven.ServiceUserArgs{
    	Project:            pulumi.String("string"),
    	ServiceName:        pulumi.String("string"),
    	Username:           pulumi.String("string"),
    	Authentication:     pulumi.String("string"),
    	Password:           pulumi.String("string"),
    	PgAllowReplication: pulumi.Bool(false),
    	RedisAclCategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RedisAclChannels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RedisAclCommands: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RedisAclKeys: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var serviceUserResource = new ServiceUser("serviceUserResource", ServiceUserArgs.builder()
        .project("string")
        .serviceName("string")
        .username("string")
        .authentication("string")
        .password("string")
        .pgAllowReplication(false)
        .redisAclCategories("string")
        .redisAclChannels("string")
        .redisAclCommands("string")
        .redisAclKeys("string")
        .build());
    
    service_user_resource = aiven.ServiceUser("serviceUserResource",
        project="string",
        service_name="string",
        username="string",
        authentication="string",
        password="string",
        pg_allow_replication=False,
        redis_acl_categories=["string"],
        redis_acl_channels=["string"],
        redis_acl_commands=["string"],
        redis_acl_keys=["string"])
    
    const serviceUserResource = new aiven.ServiceUser("serviceUserResource", {
        project: "string",
        serviceName: "string",
        username: "string",
        authentication: "string",
        password: "string",
        pgAllowReplication: false,
        redisAclCategories: ["string"],
        redisAclChannels: ["string"],
        redisAclCommands: ["string"],
        redisAclKeys: ["string"],
    });
    
    type: aiven:ServiceUser
    properties:
        authentication: string
        password: string
        pgAllowReplication: false
        project: string
        redisAclCategories:
            - string
        redisAclChannels:
            - string
        redisAclCommands:
            - string
        redisAclKeys:
            - string
        serviceName: string
        username: string
    

    ServiceUser 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 ServiceUser resource accepts the following input properties:

    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Username string
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Authentication string
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    Password string
    The password of the service user ( not applicable for all services ).
    PgAllowReplication bool
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCategories List<string>
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclChannels List<string>
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCommands List<string>
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclKeys List<string>
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Username string
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Authentication string
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    Password string
    The password of the service user ( not applicable for all services ).
    PgAllowReplication bool
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCategories []string
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclChannels []string
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCommands []string
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclKeys []string
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    username String
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    authentication String
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password String
    The password of the service user ( not applicable for all services ).
    pgAllowReplication Boolean
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCategories List<String>
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclChannels List<String>
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCommands List<String>
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclKeys List<String>
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    username string
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    authentication string
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password string
    The password of the service user ( not applicable for all services ).
    pgAllowReplication boolean
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCategories string[]
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclChannels string[]
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCommands string[]
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclKeys string[]
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    username str
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    authentication str
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password str
    The password of the service user ( not applicable for all services ).
    pg_allow_replication bool
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_categories Sequence[str]
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_channels Sequence[str]
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_commands Sequence[str]
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_keys Sequence[str]
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    username String
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    authentication String
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password String
    The password of the service user ( not applicable for all services ).
    pgAllowReplication Boolean
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCategories List<String>
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclChannels List<String>
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCommands List<String>
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclKeys List<String>
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.

    Outputs

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

    AccessCert string
    Access certificate for the user if applicable for the service in question
    AccessKey string
    Access certificate key for the user if applicable for the service in question
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type of the user account. Tells wether the user is the primary account or a regular account.
    AccessCert string
    Access certificate for the user if applicable for the service in question
    AccessKey string
    Access certificate key for the user if applicable for the service in question
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type of the user account. Tells wether the user is the primary account or a regular account.
    accessCert String
    Access certificate for the user if applicable for the service in question
    accessKey String
    Access certificate key for the user if applicable for the service in question
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type of the user account. Tells wether the user is the primary account or a regular account.
    accessCert string
    Access certificate for the user if applicable for the service in question
    accessKey string
    Access certificate key for the user if applicable for the service in question
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Type of the user account. Tells wether the user is the primary account or a regular account.
    access_cert str
    Access certificate for the user if applicable for the service in question
    access_key str
    Access certificate key for the user if applicable for the service in question
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Type of the user account. Tells wether the user is the primary account or a regular account.
    accessCert String
    Access certificate for the user if applicable for the service in question
    accessKey String
    Access certificate key for the user if applicable for the service in question
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type of the user account. Tells wether the user is the primary account or a regular account.

    Look up Existing ServiceUser Resource

    Get an existing ServiceUser 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?: ServiceUserState, opts?: CustomResourceOptions): ServiceUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_cert: Optional[str] = None,
            access_key: Optional[str] = None,
            authentication: Optional[str] = None,
            password: Optional[str] = None,
            pg_allow_replication: Optional[bool] = None,
            project: Optional[str] = None,
            redis_acl_categories: Optional[Sequence[str]] = None,
            redis_acl_channels: Optional[Sequence[str]] = None,
            redis_acl_commands: Optional[Sequence[str]] = None,
            redis_acl_keys: Optional[Sequence[str]] = None,
            service_name: Optional[str] = None,
            type: Optional[str] = None,
            username: Optional[str] = None) -> ServiceUser
    func GetServiceUser(ctx *Context, name string, id IDInput, state *ServiceUserState, opts ...ResourceOption) (*ServiceUser, error)
    public static ServiceUser Get(string name, Input<string> id, ServiceUserState? state, CustomResourceOptions? opts = null)
    public static ServiceUser get(String name, Output<String> id, ServiceUserState state, CustomResourceOptions options)
    resources:  _:    type: aiven:ServiceUser    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:
    AccessCert string
    Access certificate for the user if applicable for the service in question
    AccessKey string
    Access certificate key for the user if applicable for the service in question
    Authentication string
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    Password string
    The password of the service user ( not applicable for all services ).
    PgAllowReplication bool
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCategories List<string>
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclChannels List<string>
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCommands List<string>
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclKeys List<string>
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Type string
    Type of the user account. Tells wether the user is the primary account or a regular account.
    Username string
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    AccessCert string
    Access certificate for the user if applicable for the service in question
    AccessKey string
    Access certificate key for the user if applicable for the service in question
    Authentication string
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    Password string
    The password of the service user ( not applicable for all services ).
    PgAllowReplication bool
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCategories []string
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclChannels []string
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclCommands []string
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    RedisAclKeys []string
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    Type string
    Type of the user account. Tells wether the user is the primary account or a regular account.
    Username string
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    accessCert String
    Access certificate for the user if applicable for the service in question
    accessKey String
    Access certificate key for the user if applicable for the service in question
    authentication String
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password String
    The password of the service user ( not applicable for all services ).
    pgAllowReplication Boolean
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCategories List<String>
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclChannels List<String>
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCommands List<String>
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclKeys List<String>
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    type String
    Type of the user account. Tells wether the user is the primary account or a regular account.
    username String
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    accessCert string
    Access certificate for the user if applicable for the service in question
    accessKey string
    Access certificate key for the user if applicable for the service in question
    authentication string
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password string
    The password of the service user ( not applicable for all services ).
    pgAllowReplication boolean
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCategories string[]
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclChannels string[]
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCommands string[]
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclKeys string[]
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    type string
    Type of the user account. Tells wether the user is the primary account or a regular account.
    username string
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    access_cert str
    Access certificate for the user if applicable for the service in question
    access_key str
    Access certificate key for the user if applicable for the service in question
    authentication str
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password str
    The password of the service user ( not applicable for all services ).
    pg_allow_replication bool
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_categories Sequence[str]
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_channels Sequence[str]
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_commands Sequence[str]
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redis_acl_keys Sequence[str]
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    type str
    Type of the user account. Tells wether the user is the primary account or a regular account.
    username str
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    accessCert String
    Access certificate for the user if applicable for the service in question
    accessKey String
    Access certificate key for the user if applicable for the service in question
    authentication String
    Authentication details. The possible values are caching_sha2_password and mysql_native_password.
    password String
    The password of the service user ( not applicable for all services ).
    pgAllowReplication Boolean
    Postgres specific field, defines whether replication is allowed. This property cannot be changed, doing so forces recreation of the resource.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCategories List<String>
    Redis specific field, defines command category rules. The field is required withredis_acl_commands and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclChannels List<String>
    Redis specific field, defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
    redisAclCommands List<String>
    Redis specific field, defines rules for individual commands. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    redisAclKeys List<String>
    Redis specific field, defines key access rules. The field is required withredis_acl_categories and redis_acl_keys. This property cannot be changed, doing so forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
    type String
    Type of the user account. Tells wether the user is the primary account or a regular account.
    username String
    The actual name of the service user. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v4.5.2 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.