accounts create
Command: boundary accounts create
The accounts create
command lets you create an account associated with one of the following auth methods:
- LDAP
- OIDC
- Password
Example
The following example creates an account named test_account
. In this example, you provide a password when prompted:
Example output:
Usage
Command options
-auth-method-id
(string: "")
- The auth-method resource to use for the operation. You can also specify the auth-method using the BOUNDARY_AUTH_METHOD_ID environment variable.-description
(string: "")
- The description to set for the account.-name
(string: "")
- The name to set on the account.
Usages by type
You can create ldap
, oidc
, and password
type accounts.
The boundary accounts create ldap
command creates an account of ldap
type.
Example
The example below creates an LDAP account with the login name prodops
and the description ldap account for ProdOps
:
Usage
LDAP account option
The following option is LDAP-specific, in addition to the command options:
-login-name
(string: "")
- The login name for the account.
CLI options
In addition to the command specific options, there are options common to all CLI commands and subcommands: