1. Packages
  2. Aiven Provider
  3. API Docs
  4. OrganizationApplicationUser
Aiven v6.44.0 published on Friday, Oct 10, 2025 by Pulumi

aiven.OrganizationApplicationUser

Get Started
aiven logo
Aiven v6.44.0 published on Friday, Oct 10, 2025 by Pulumi

    Creates and manages an organization application user. Application users can be used for programmatic access to the platform using a token created with the aiven.OrganizationApplicationUserToken resource. You give application users access to your organization, projects, and services using the aiven.OrganizationPermission resource. You can also add application users to groups using the aiven.OrganizationUserGroupMember resource.`.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const tfUser = new aiven.OrganizationApplicationUser("tf_user", {
        organizationId: main.id,
        name: "app-terraform",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    tf_user = aiven.OrganizationApplicationUser("tf_user",
        organization_id=main["id"],
        name="app-terraform")
    
    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 {
    		_, err := aiven.NewOrganizationApplicationUser(ctx, "tf_user", &aiven.OrganizationApplicationUserArgs{
    			OrganizationId: pulumi.Any(main.Id),
    			Name:           pulumi.String("app-terraform"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var tfUser = new Aiven.OrganizationApplicationUser("tf_user", new()
        {
            OrganizationId = main.Id,
            Name = "app-terraform",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.OrganizationApplicationUser;
    import com.pulumi.aiven.OrganizationApplicationUserArgs;
    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 tfUser = new OrganizationApplicationUser("tfUser", OrganizationApplicationUserArgs.builder()
                .organizationId(main.id())
                .name("app-terraform")
                .build());
    
        }
    }
    
    resources:
      tfUser:
        type: aiven:OrganizationApplicationUser
        name: tf_user
        properties:
          organizationId: ${main.id}
          name: app-terraform
    

    Create OrganizationApplicationUser Resource

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

    Constructor syntax

    new OrganizationApplicationUser(name: string, args: OrganizationApplicationUserArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationApplicationUser(resource_name: str,
                                    args: OrganizationApplicationUserArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationApplicationUser(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    organization_id: Optional[str] = None,
                                    is_super_admin: Optional[bool] = None,
                                    name: Optional[str] = None,
                                    timeouts: Optional[OrganizationApplicationUserTimeoutsArgs] = None)
    func NewOrganizationApplicationUser(ctx *Context, name string, args OrganizationApplicationUserArgs, opts ...ResourceOption) (*OrganizationApplicationUser, error)
    public OrganizationApplicationUser(string name, OrganizationApplicationUserArgs args, CustomResourceOptions? opts = null)
    public OrganizationApplicationUser(String name, OrganizationApplicationUserArgs args)
    public OrganizationApplicationUser(String name, OrganizationApplicationUserArgs args, CustomResourceOptions options)
    
    type: aiven:OrganizationApplicationUser
    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 OrganizationApplicationUserArgs
    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 OrganizationApplicationUserArgs
    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 OrganizationApplicationUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationApplicationUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationApplicationUserArgs
    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 organizationApplicationUserResource = new Aiven.OrganizationApplicationUser("organizationApplicationUserResource", new()
    {
        OrganizationId = "string",
        Name = "string",
        Timeouts = new Aiven.Inputs.OrganizationApplicationUserTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewOrganizationApplicationUser(ctx, "organizationApplicationUserResource", &aiven.OrganizationApplicationUserArgs{
    	OrganizationId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Timeouts: &aiven.OrganizationApplicationUserTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var organizationApplicationUserResource = new OrganizationApplicationUser("organizationApplicationUserResource", OrganizationApplicationUserArgs.builder()
        .organizationId("string")
        .name("string")
        .timeouts(OrganizationApplicationUserTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    organization_application_user_resource = aiven.OrganizationApplicationUser("organizationApplicationUserResource",
        organization_id="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const organizationApplicationUserResource = new aiven.OrganizationApplicationUser("organizationApplicationUserResource", {
        organizationId: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:OrganizationApplicationUser
    properties:
        name: string
        organizationId: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

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

    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    IsSuperAdmin bool
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    Name string
    Name.
    Timeouts OrganizationApplicationUserTimeouts
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    IsSuperAdmin bool
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    Name string
    Name.
    Timeouts OrganizationApplicationUserTimeoutsArgs
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    isSuperAdmin Boolean
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name String
    Name.
    timeouts OrganizationApplicationUserTimeouts
    organizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    isSuperAdmin boolean
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name string
    Name.
    timeouts OrganizationApplicationUserTimeouts
    organization_id str
    ID of an organization. Changing this property forces recreation of the resource.
    is_super_admin bool
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name str
    Name.
    timeouts OrganizationApplicationUserTimeoutsArgs
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    isSuperAdmin Boolean
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name String
    Name.
    timeouts Property Map

    Outputs

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

    Email string
    User Email.
    Id string
    The provider-assigned unique ID for this managed resource.
    UserId string
    User ID.
    Email string
    User Email.
    Id string
    The provider-assigned unique ID for this managed resource.
    UserId string
    User ID.
    email String
    User Email.
    id String
    The provider-assigned unique ID for this managed resource.
    userId String
    User ID.
    email string
    User Email.
    id string
    The provider-assigned unique ID for this managed resource.
    userId string
    User ID.
    email str
    User Email.
    id str
    The provider-assigned unique ID for this managed resource.
    user_id str
    User ID.
    email String
    User Email.
    id String
    The provider-assigned unique ID for this managed resource.
    userId String
    User ID.

    Look up Existing OrganizationApplicationUser Resource

    Get an existing OrganizationApplicationUser 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?: OrganizationApplicationUserState, opts?: CustomResourceOptions): OrganizationApplicationUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            email: Optional[str] = None,
            is_super_admin: Optional[bool] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            timeouts: Optional[OrganizationApplicationUserTimeoutsArgs] = None,
            user_id: Optional[str] = None) -> OrganizationApplicationUser
    func GetOrganizationApplicationUser(ctx *Context, name string, id IDInput, state *OrganizationApplicationUserState, opts ...ResourceOption) (*OrganizationApplicationUser, error)
    public static OrganizationApplicationUser Get(string name, Input<string> id, OrganizationApplicationUserState? state, CustomResourceOptions? opts = null)
    public static OrganizationApplicationUser get(String name, Output<String> id, OrganizationApplicationUserState state, CustomResourceOptions options)
    resources:  _:    type: aiven:OrganizationApplicationUser    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:
    Email string
    User Email.
    IsSuperAdmin bool
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    Name string
    Name.
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    Timeouts OrganizationApplicationUserTimeouts
    UserId string
    User ID.
    Email string
    User Email.
    IsSuperAdmin bool
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    Name string
    Name.
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    Timeouts OrganizationApplicationUserTimeoutsArgs
    UserId string
    User ID.
    email String
    User Email.
    isSuperAdmin Boolean
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name String
    Name.
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    timeouts OrganizationApplicationUserTimeouts
    userId String
    User ID.
    email string
    User Email.
    isSuperAdmin boolean
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name string
    Name.
    organizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    timeouts OrganizationApplicationUserTimeouts
    userId string
    User ID.
    email str
    User Email.
    is_super_admin bool
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name str
    Name.
    organization_id str
    ID of an organization. Changing this property forces recreation of the resource.
    timeouts OrganizationApplicationUserTimeoutsArgs
    user_id str
    User ID.
    email String
    User Email.
    isSuperAdmin Boolean
    Alters super admin state of the organization application user. The default value is false.

    Deprecated: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the aiven.OrganizationPermission resource.

    name String
    Name.
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    timeouts Property Map
    userId String
    User ID.

    Supporting Types

    OrganizationApplicationUserTimeouts, OrganizationApplicationUserTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    $ pulumi import aiven:index/organizationApplicationUser:OrganizationApplicationUser example ORGANIZATION_ID/USER_ID
    

    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.
    aiven logo
    Aiven v6.44.0 published on Friday, Oct 10, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate