# UserAdmin

> Resource UserAdmin in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Resource UserAdmin in pulumi-portainer.

Pulumi type: `portainer:index/userAdmin:UserAdmin`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const resource = new portainer.UserAdmin("userAdmin", {
  password: "<password>",
})
```

## Arguments

| Property      | Type     | Required | Description                                                         |
| ------------- | -------- | -------- | ------------------------------------------------------------------- |
| `password`    | `string` | yes      | Password for the admin account. Only used during initial bootstrap. |
| `userAdminId` | `string` | no       |                                                                     |
| `username`    | `string` | no       | Username of the admin account to initialize (defaults to 'admin').  |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property      | Type      | Computed | Description                                                         |
| ------------- | --------- | -------- | ------------------------------------------------------------------- |
| `initialized` | `boolean` | yes      | Whether the admin user has been initialized via this resource.      |
| `password`    | `string`  | no       | Password for the admin account. Only used during initial bootstrap. |
| `userAdminId` | `string`  | no       |                                                                     |
| `username`    | `string`  | no       | Username of the admin account to initialize (defaults to 'admin').  |
