1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. User
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.User

Explore with Pulumi AI

Manages Users and list users and groups associated with that user.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
import * as random from "@pulumi/random";

const group1 = new ionoscloud.Group("group1", {
    createDatacenter: true,
    createSnapshot: true,
    reserveIp: true,
    accessActivityLog: false,
    createK8sCluster: true,
});
const group2 = new ionoscloud.Group("group2", {
    createDatacenter: true,
    createSnapshot: true,
    reserveIp: true,
    accessActivityLog: false,
    createK8sCluster: true,
});
const group3 = new ionoscloud.Group("group3", {
    createDatacenter: true,
    createSnapshot: true,
    reserveIp: true,
    accessActivityLog: false,
});
const userPassword = new random.index.Random_password("userPassword", {
    length: 16,
    special: true,
    overrideSpecial: "!#$%&*()-_=+[]{}<>:?",
});
const example = new ionoscloud.User("example", {
    firstName: "example",
    lastName: "example",
    email: "unique@email.com",
    password: userPassword.result,
    administrator: false,
    forceSecAuth: false,
    active: true,
    groupIds: [
        group1.groupId,
        group2.groupId,
        group3.groupId,
    ],
});
Copy
import pulumi
import pulumi_ionoscloud as ionoscloud
import pulumi_random as random

group1 = ionoscloud.Group("group1",
    create_datacenter=True,
    create_snapshot=True,
    reserve_ip=True,
    access_activity_log=False,
    create_k8s_cluster=True)
group2 = ionoscloud.Group("group2",
    create_datacenter=True,
    create_snapshot=True,
    reserve_ip=True,
    access_activity_log=False,
    create_k8s_cluster=True)
group3 = ionoscloud.Group("group3",
    create_datacenter=True,
    create_snapshot=True,
    reserve_ip=True,
    access_activity_log=False)
user_password = random.index.Random_password("userPassword",
    length=16,
    special=True,
    override_special=!#$%&*()-_=+[]{}<>:?)
example = ionoscloud.User("example",
    first_name="example",
    last_name="example",
    email="unique@email.com",
    password=user_password["result"],
    administrator=False,
    force_sec_auth=False,
    active=True,
    group_ids=[
        group1.group_id,
        group2.group_id,
        group3.group_id,
    ])
Copy
package main

import (
	"github.com/pulumi/pulumi-random/sdk/go/random"
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		group1, err := ionoscloud.NewGroup(ctx, "group1", &ionoscloud.GroupArgs{
			CreateDatacenter:  pulumi.Bool(true),
			CreateSnapshot:    pulumi.Bool(true),
			ReserveIp:         pulumi.Bool(true),
			AccessActivityLog: pulumi.Bool(false),
			CreateK8sCluster:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		group2, err := ionoscloud.NewGroup(ctx, "group2", &ionoscloud.GroupArgs{
			CreateDatacenter:  pulumi.Bool(true),
			CreateSnapshot:    pulumi.Bool(true),
			ReserveIp:         pulumi.Bool(true),
			AccessActivityLog: pulumi.Bool(false),
			CreateK8sCluster:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		group3, err := ionoscloud.NewGroup(ctx, "group3", &ionoscloud.GroupArgs{
			CreateDatacenter:  pulumi.Bool(true),
			CreateSnapshot:    pulumi.Bool(true),
			ReserveIp:         pulumi.Bool(true),
			AccessActivityLog: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		userPassword, err := random.NewRandom_password(ctx, "userPassword", &random.Random_passwordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		_, err = ionoscloud.NewUser(ctx, "example", &ionoscloud.UserArgs{
			FirstName:     pulumi.String("example"),
			LastName:      pulumi.String("example"),
			Email:         pulumi.String("unique@email.com"),
			Password:      userPassword.Result,
			Administrator: pulumi.Bool(false),
			ForceSecAuth:  pulumi.Bool(false),
			Active:        pulumi.Bool(true),
			GroupIds: pulumi.StringArray{
				group1.GroupId,
				group2.GroupId,
				group3.GroupId,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
using Random = Pulumi.Random;

return await Deployment.RunAsync(() => 
{
    var group1 = new Ionoscloud.Group("group1", new()
    {
        CreateDatacenter = true,
        CreateSnapshot = true,
        ReserveIp = true,
        AccessActivityLog = false,
        CreateK8sCluster = true,
    });

    var group2 = new Ionoscloud.Group("group2", new()
    {
        CreateDatacenter = true,
        CreateSnapshot = true,
        ReserveIp = true,
        AccessActivityLog = false,
        CreateK8sCluster = true,
    });

    var group3 = new Ionoscloud.Group("group3", new()
    {
        CreateDatacenter = true,
        CreateSnapshot = true,
        ReserveIp = true,
        AccessActivityLog = false,
    });

    var userPassword = new Random.Index.Random_password("userPassword", new()
    {
        Length = 16,
        Special = true,
        OverrideSpecial = "!#$%&*()-_=+[]{}<>:?",
    });

    var example = new Ionoscloud.User("example", new()
    {
        FirstName = "example",
        LastName = "example",
        Email = "unique@email.com",
        Password = userPassword.Result,
        Administrator = false,
        ForceSecAuth = false,
        Active = true,
        GroupIds = new[]
        {
            group1.GroupId,
            group2.GroupId,
            group3.GroupId,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.Group;
import com.pulumi.ionoscloud.GroupArgs;
import com.pulumi.random.random_password;
import com.pulumi.random.Random_passwordArgs;
import com.pulumi.ionoscloud.User;
import com.pulumi.ionoscloud.UserArgs;
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 group1 = new Group("group1", GroupArgs.builder()
            .createDatacenter(true)
            .createSnapshot(true)
            .reserveIp(true)
            .accessActivityLog(false)
            .createK8sCluster(true)
            .build());

        var group2 = new Group("group2", GroupArgs.builder()
            .createDatacenter(true)
            .createSnapshot(true)
            .reserveIp(true)
            .accessActivityLog(false)
            .createK8sCluster(true)
            .build());

        var group3 = new Group("group3", GroupArgs.builder()
            .createDatacenter(true)
            .createSnapshot(true)
            .reserveIp(true)
            .accessActivityLog(false)
            .build());

        var userPassword = new Random_password("userPassword", Random_passwordArgs.builder()
            .length(16)
            .special(true)
            .overrideSpecial("!#$%&*()-_=+[]{}<>:?")
            .build());

        var example = new User("example", UserArgs.builder()
            .firstName("example")
            .lastName("example")
            .email("unique@email.com")
            .password(userPassword.result())
            .administrator(false)
            .forceSecAuth(false)
            .active(true)
            .groupIds(            
                group1.groupId(),
                group2.groupId(),
                group3.groupId())
            .build());

    }
}
Copy
resources:
  example:
    type: ionoscloud:User
    properties:
      firstName: example
      lastName: example
      email: unique@email.com
      password: ${userPassword.result}
      administrator: false
      forceSecAuth: false
      active: true
      groupIds:
        - ${group1.groupId}
        - ${group2.groupId}
        - ${group3.groupId}
  group1:
    type: ionoscloud:Group
    properties:
      createDatacenter: true
      createSnapshot: true
      reserveIp: true
      accessActivityLog: false
      createK8sCluster: true
  group2:
    type: ionoscloud:Group
    properties:
      createDatacenter: true
      createSnapshot: true
      reserveIp: true
      accessActivityLog: false
      createK8sCluster: true
  group3:
    type: ionoscloud:Group
    properties:
      createDatacenter: true
      createSnapshot: true
      reserveIp: true
      accessActivityLog: false
  userPassword:
    type: random:random_password
    properties:
      length: 16
      special: true
      overrideSpecial: '!#$%&*()-_=+[]{}<>:?'
Copy

Create User Resource

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

Constructor syntax

new User(name: string, args: UserArgs, opts?: CustomResourceOptions);
@overload
def User(resource_name: str,
         args: UserArgs,
         opts: Optional[ResourceOptions] = None)

@overload
def User(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         email: Optional[str] = None,
         first_name: Optional[str] = None,
         last_name: Optional[str] = None,
         active: Optional[bool] = None,
         administrator: Optional[bool] = None,
         force_sec_auth: Optional[bool] = None,
         group_ids: Optional[Sequence[str]] = None,
         password: Optional[str] = None,
         password_wo: Optional[str] = None,
         password_wo_version: Optional[float] = None,
         timeouts: Optional[UserTimeoutsArgs] = None,
         user_id: Optional[str] = None)
func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)
public User(string name, UserArgs args, CustomResourceOptions? opts = null)
public User(String name, UserArgs args)
public User(String name, UserArgs args, CustomResourceOptions options)
type: ionoscloud:User
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. UserArgs
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. UserArgs
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. UserArgs
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. UserArgs
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. UserArgs
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 userResource = new Ionoscloud.User("userResource", new()
{
    Email = "string",
    FirstName = "string",
    LastName = "string",
    Active = false,
    Administrator = false,
    ForceSecAuth = false,
    GroupIds = new[]
    {
        "string",
    },
    Password = "string",
    PasswordWo = "string",
    PasswordWoVersion = 0,
    Timeouts = new Ionoscloud.Inputs.UserTimeoutsArgs
    {
        Create = "string",
        Default = "string",
        Delete = "string",
        Update = "string",
    },
    UserId = "string",
});
Copy
example, err := ionoscloud.NewUser(ctx, "userResource", &ionoscloud.UserArgs{
Email: pulumi.String("string"),
FirstName: pulumi.String("string"),
LastName: pulumi.String("string"),
Active: pulumi.Bool(false),
Administrator: pulumi.Bool(false),
ForceSecAuth: pulumi.Bool(false),
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
PasswordWo: pulumi.String("string"),
PasswordWoVersion: pulumi.Float64(0),
Timeouts: &.UserTimeoutsArgs{
Create: pulumi.String("string"),
Default: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserId: pulumi.String("string"),
})
Copy
var userResource = new User("userResource", UserArgs.builder()
    .email("string")
    .firstName("string")
    .lastName("string")
    .active(false)
    .administrator(false)
    .forceSecAuth(false)
    .groupIds("string")
    .password("string")
    .passwordWo("string")
    .passwordWoVersion(0)
    .timeouts(UserTimeoutsArgs.builder()
        .create("string")
        .default_("string")
        .delete("string")
        .update("string")
        .build())
    .userId("string")
    .build());
Copy
user_resource = ionoscloud.User("userResource",
    email="string",
    first_name="string",
    last_name="string",
    active=False,
    administrator=False,
    force_sec_auth=False,
    group_ids=["string"],
    password="string",
    password_wo="string",
    password_wo_version=0,
    timeouts={
        "create": "string",
        "default": "string",
        "delete": "string",
        "update": "string",
    },
    user_id="string")
Copy
const userResource = new ionoscloud.User("userResource", {
    email: "string",
    firstName: "string",
    lastName: "string",
    active: false,
    administrator: false,
    forceSecAuth: false,
    groupIds: ["string"],
    password: "string",
    passwordWo: "string",
    passwordWoVersion: 0,
    timeouts: {
        create: "string",
        "default": "string",
        "delete": "string",
        update: "string",
    },
    userId: "string",
});
Copy
type: ionoscloud:User
properties:
    active: false
    administrator: false
    email: string
    firstName: string
    forceSecAuth: false
    groupIds:
        - string
    lastName: string
    password: string
    passwordWo: string
    passwordWoVersion: 0
    timeouts:
        create: string
        default: string
        delete: string
        update: string
    userId: string
Copy

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

Email This property is required. string
[string] An e-mail address for the user.
FirstName This property is required. string
[string] A first name for the user.
LastName This property is required. string
[string] A last name for the user.
Active bool
[Boolean] Indicates if the user is active
Administrator bool
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
ForceSecAuth bool
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
GroupIds List<string>
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
Password string
PasswordWo string
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
PasswordWoVersion double
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
Timeouts UserTimeouts
UserId string
Email This property is required. string
[string] An e-mail address for the user.
FirstName This property is required. string
[string] A first name for the user.
LastName This property is required. string
[string] A last name for the user.
Active bool
[Boolean] Indicates if the user is active
Administrator bool
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
ForceSecAuth bool
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
GroupIds []string
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
Password string
PasswordWo string
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
PasswordWoVersion float64
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
Timeouts UserTimeoutsArgs
UserId string
email This property is required. String
[string] An e-mail address for the user.
firstName This property is required. String
[string] A first name for the user.
lastName This property is required. String
[string] A last name for the user.
active Boolean
[Boolean] Indicates if the user is active
administrator Boolean
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
forceSecAuth Boolean
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
groupIds List<String>
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
password String
passwordWo String
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
passwordWoVersion Double
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
timeouts UserTimeouts
userId String
email This property is required. string
[string] An e-mail address for the user.
firstName This property is required. string
[string] A first name for the user.
lastName This property is required. string
[string] A last name for the user.
active boolean
[Boolean] Indicates if the user is active
administrator boolean
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
forceSecAuth boolean
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
groupIds string[]
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
password string
passwordWo string
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
passwordWoVersion number
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
timeouts UserTimeouts
userId string
email This property is required. str
[string] An e-mail address for the user.
first_name This property is required. str
[string] A first name for the user.
last_name This property is required. str
[string] A last name for the user.
active bool
[Boolean] Indicates if the user is active
administrator bool
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
force_sec_auth bool
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
group_ids Sequence[str]
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
password str
password_wo str
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
password_wo_version float
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
timeouts UserTimeoutsArgs
user_id str
email This property is required. String
[string] An e-mail address for the user.
firstName This property is required. String
[string] A first name for the user.
lastName This property is required. String
[string] A last name for the user.
active Boolean
[Boolean] Indicates if the user is active
administrator Boolean
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
forceSecAuth Boolean
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
groupIds List<String>
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
password String
passwordWo String
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
passwordWoVersion Number
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
timeouts Property Map
userId String

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
S3CanonicalUserId string
Canonical (IONOS Object Storage) id of the user for a given identity
SecAuthActive bool
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
Id string
The provider-assigned unique ID for this managed resource.
S3CanonicalUserId string
Canonical (IONOS Object Storage) id of the user for a given identity
SecAuthActive bool
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
id String
The provider-assigned unique ID for this managed resource.
s3CanonicalUserId String
Canonical (IONOS Object Storage) id of the user for a given identity
secAuthActive Boolean
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
id string
The provider-assigned unique ID for this managed resource.
s3CanonicalUserId string
Canonical (IONOS Object Storage) id of the user for a given identity
secAuthActive boolean
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
id str
The provider-assigned unique ID for this managed resource.
s3_canonical_user_id str
Canonical (IONOS Object Storage) id of the user for a given identity
sec_auth_active bool
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
id String
The provider-assigned unique ID for this managed resource.
s3CanonicalUserId String
Canonical (IONOS Object Storage) id of the user for a given identity
secAuthActive Boolean
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update

Look up Existing User Resource

Get an existing User 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?: UserState, opts?: CustomResourceOptions): User
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        active: Optional[bool] = None,
        administrator: Optional[bool] = None,
        email: Optional[str] = None,
        first_name: Optional[str] = None,
        force_sec_auth: Optional[bool] = None,
        group_ids: Optional[Sequence[str]] = None,
        last_name: Optional[str] = None,
        password: Optional[str] = None,
        password_wo: Optional[str] = None,
        password_wo_version: Optional[float] = None,
        s3_canonical_user_id: Optional[str] = None,
        sec_auth_active: Optional[bool] = None,
        timeouts: Optional[UserTimeoutsArgs] = None,
        user_id: Optional[str] = None) -> User
func GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)
public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)
public static User get(String name, Output<String> id, UserState state, CustomResourceOptions options)
resources:  _:    type: ionoscloud:User    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.
The following state arguments are supported:
Active bool
[Boolean] Indicates if the user is active
Administrator bool
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
Email string
[string] An e-mail address for the user.
FirstName string
[string] A first name for the user.
ForceSecAuth bool
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
GroupIds List<string>
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
LastName string
[string] A last name for the user.
Password string
PasswordWo string
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
PasswordWoVersion double
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
S3CanonicalUserId string
Canonical (IONOS Object Storage) id of the user for a given identity
SecAuthActive bool
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
Timeouts UserTimeouts
UserId string
Active bool
[Boolean] Indicates if the user is active
Administrator bool
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
Email string
[string] An e-mail address for the user.
FirstName string
[string] A first name for the user.
ForceSecAuth bool
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
GroupIds []string
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
LastName string
[string] A last name for the user.
Password string
PasswordWo string
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
PasswordWoVersion float64
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
S3CanonicalUserId string
Canonical (IONOS Object Storage) id of the user for a given identity
SecAuthActive bool
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
Timeouts UserTimeoutsArgs
UserId string
active Boolean
[Boolean] Indicates if the user is active
administrator Boolean
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
email String
[string] An e-mail address for the user.
firstName String
[string] A first name for the user.
forceSecAuth Boolean
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
groupIds List<String>
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
lastName String
[string] A last name for the user.
password String
passwordWo String
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
passwordWoVersion Double
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
s3CanonicalUserId String
Canonical (IONOS Object Storage) id of the user for a given identity
secAuthActive Boolean
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
timeouts UserTimeouts
userId String
active boolean
[Boolean] Indicates if the user is active
administrator boolean
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
email string
[string] An e-mail address for the user.
firstName string
[string] A first name for the user.
forceSecAuth boolean
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
groupIds string[]
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
lastName string
[string] A last name for the user.
password string
passwordWo string
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
passwordWoVersion number
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
s3CanonicalUserId string
Canonical (IONOS Object Storage) id of the user for a given identity
secAuthActive boolean
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
timeouts UserTimeouts
userId string
active bool
[Boolean] Indicates if the user is active
administrator bool
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
email str
[string] An e-mail address for the user.
first_name str
[string] A first name for the user.
force_sec_auth bool
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
group_ids Sequence[str]
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
last_name str
[string] A last name for the user.
password str
password_wo str
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
password_wo_version float
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
s3_canonical_user_id str
Canonical (IONOS Object Storage) id of the user for a given identity
sec_auth_active bool
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
timeouts UserTimeoutsArgs
user_id str
active Boolean
[Boolean] Indicates if the user is active
administrator Boolean
[Boolean] Indicates if the user has administrative rights. Administrators do not need to be managed in groups, as they automatically have access to all resources associated with the contract.
email String
[string] An e-mail address for the user.
firstName String
[string] A first name for the user.
forceSecAuth Boolean
[Boolean] Indicates if secure (two-factor) authentication should be forced for the user (true) or not (false).
groupIds List<String>
[Set] The groups that this user will be a member of NOTE: Group_ids field cannot be used at the same time with user_ids field in group resource. Trying to add the same user to the same group in both ways in the same plan will result in a cyclic dependency error. NOTE: password_wo requires Teraform 1.11 or higher.
lastName String
[string] A last name for the user.
password String
passwordWo String
Write-only attribute. Password for the user. To modify, must change the password_wo_version attribute.
passwordWoVersion Number
Used together with password_wo to trigger an update. Increment this value when an update to the password_wo is required.
s3CanonicalUserId String
Canonical (IONOS Object Storage) id of the user for a given identity
secAuthActive Boolean
[Boolean] Indicates if secure authentication is active for the user or not. it can not be used in create requests - can be used in update
timeouts Property Map
userId String

Supporting Types

UserTimeouts
, UserTimeoutsArgs

Create string
Default string
Delete string
Update string
Create string
Default string
Delete string
Update string
create String
default_ String
delete String
update String
create string
default string
delete string
update string
create String
default String
delete String
update String

Import

Resource User can be imported using the resource id, e.g.

$ pulumi import ionoscloud:index/user:User myuser user uuid
Copy

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

Package Details

Repository
ionoscloud ionos-cloud/terraform-provider-ionoscloud
License
Notes
This Pulumi package is based on the ionoscloud Terraform Provider.