Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/stackit_beta_intake.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ stackit beta intake [flags]
* [stackit beta intake list](./stackit_beta_intake_list.md) - Lists all Intakes
* [stackit beta intake runner](./stackit_beta_intake_runner.md) - Provides functionality for Intake Runners
* [stackit beta intake update](./stackit_beta_intake_update.md) - Updates an Intake
* [stackit beta intake user](./stackit_beta_intake_user.md) - Provides functionality for Intake Users

38 changes: 38 additions & 0 deletions docs/stackit_beta_intake_user.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## stackit beta intake user

Provides functionality for Intake Users

### Synopsis

Provides functionality for Intake Users.

```
stackit beta intake user [flags]
```

### Options

```
-h, --help Help for "stackit beta intake user"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
* [stackit beta intake user create](./stackit_beta_intake_user_create.md) - Creates a new Intake User
* [stackit beta intake user delete](./stackit_beta_intake_user_delete.md) - Deletes an Intake User
* [stackit beta intake user describe](./stackit_beta_intake_user_describe.md) - Shows details of an Intake User
* [stackit beta intake user list](./stackit_beta_intake_user_list.md) - Lists all Intake Users
* [stackit beta intake user update](./stackit_beta_intake_user_update.md) - Updates an Intake User

49 changes: 49 additions & 0 deletions docs/stackit_beta_intake_user_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## stackit beta intake user create

Creates a new Intake User

### Synopsis

Creates a new Intake User for a specific Intake.

```
stackit beta intake user create [flags]
```

### Examples

```
Create a new Intake User with required parameters
$ stackit beta intake user create --display-name intake-user --intake-id xxx --password "SuperSafepass123\!"

Create a new Intake User for the dead-letter queue with labels
$ stackit beta intake user create --display-name dlq-user --intake-id xxx --password "SuperSafepass123\!" --type dead-letter --labels "env=prod"
```

### Options

```
--description string Description
--display-name string Display name
-h, --help Help for "stackit beta intake user create"
--intake-id string The UUID of the Intake to associate the user with
--labels stringToString Labels in key=value format, separated by commas (default [])
--password string Password for the user. Must contain lower, upper, number, and special characters (min 12 chars)
--type string Type of user. One of 'intake' (default) or 'dead-letter' (default "intake")
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta intake user](./stackit_beta_intake_user.md) - Provides functionality for Intake Users

41 changes: 41 additions & 0 deletions docs/stackit_beta_intake_user_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## stackit beta intake user delete

Deletes an Intake User

### Synopsis

Deletes an Intake User.

```
stackit beta intake user delete USER_ID [flags]
```

### Examples

```
Delete an Intake User with ID "xxx" for Intake "yyy"
$ stackit beta intake user delete xxx --intake-id yyy
```

### Options

```
-h, --help Help for "stackit beta intake user delete"
--intake-id string Intake ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta intake user](./stackit_beta_intake_user.md) - Provides functionality for Intake Users

44 changes: 44 additions & 0 deletions docs/stackit_beta_intake_user_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## stackit beta intake user describe

Shows details of an Intake User

### Synopsis

Shows details of an Intake User.

```
stackit beta intake user describe USER_ID [flags]
```

### Examples

```
Get details of an Intake User with ID "xxx" for Intake "yyy"
$ stackit beta intake user describe xxx --intake-id yyy

Get details of an Intake User with ID "xxx" in JSON format
$ stackit beta intake user describe xxx --intake-id yyy --output-format json
```

### Options

```
-h, --help Help for "stackit beta intake user describe"
--intake-id string Intake ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta intake user](./stackit_beta_intake_user.md) - Provides functionality for Intake Users

48 changes: 48 additions & 0 deletions docs/stackit_beta_intake_user_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
## stackit beta intake user list

Lists all Intake Users

### Synopsis

Lists all Intake Users for a specific Intake.

```
stackit beta intake user list [flags]
```

### Examples

```
List all users for an Intake
$ stackit beta intake user list --intake-id xxx

List all users for an Intake in JSON format
$ stackit beta intake user list --intake-id xxx --output-format json

List up to 5 users for an Intake
$ stackit beta intake user list --intake-id xxx --limit 5
```

### Options

```
-h, --help Help for "stackit beta intake user list"
--intake-id string Intake ID
--limit int Maximum number of entries to list
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta intake user](./stackit_beta_intake_user.md) - Provides functionality for Intake Users

49 changes: 49 additions & 0 deletions docs/stackit_beta_intake_user_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## stackit beta intake user update

Updates an Intake User

### Synopsis

Updates an Intake User. Only the specified fields are updated.

```
stackit beta intake user update USER_ID [flags]
```

### Examples

```
Update the display name of an Intake User
$ stackit beta intake user update xxx --intake-id yyy --display-name "new-user-name"

Update the password and description for an Intake User
$ stackit beta intake user update xxx --intake-id yyy --password "NewSecret123\!" --description "Updated description"
```

### Options

```
--description string Description
--display-name string Display name
-h, --help Help for "stackit beta intake user update"
--intake-id string Intake ID
--labels stringToString Labels in key=value format, separated by commas. Example: --labels "key1=value1,key2=value2". (default [])
--password string Password for the user. Must contain lower, upper, number, and special characters (min 12 chars)
--type string Type of user. One of 'intake' or 'dead-letter'
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta intake user](./stackit_beta_intake_user.md) - Provides functionality for Intake Users

2 changes: 2 additions & 0 deletions internal/cmd/beta/intake/intake.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/intake/list"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/intake/runner"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/intake/update"
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/intake/user"
"github.com/stackitcloud/stackit-cli/internal/pkg/args"
"github.com/stackitcloud/stackit-cli/internal/pkg/types"
"github.com/stackitcloud/stackit-cli/internal/pkg/utils"
Expand All @@ -28,6 +29,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {

func addSubcommands(cmd *cobra.Command, params *types.CmdParams) {
cmd.AddCommand(runner.NewCmd(params))
cmd.AddCommand(user.NewCmd(params))

// Intake instance subcommands
cmd.AddCommand(create.NewCmd(params))
Expand Down
Loading
Loading