Boundary
accounts update
Command: boundary accounts update
The accounts update command updates an existing account's information for
the LDAP, OIDC, or password auth method.
Examples
The following example updates an existing password-type account with the ID acctpw_w3N3PlV34D:
ID:                    acctpw_w3N3PlV34D
   Version:             1
   Type:                password
   Name:                test_account
   Description:         Test password account
   Authorized Actions:
      no-op
      read
      update
      delete
      set-password
      change-password
  Attributes:
    Login Name:        tester01
This command updates the name, login name, and description:
$ boundary accounts update password -id=acctpw_w3N3PlV34D \
   -name="tester" \
   -login-name="test-engineer" \
   -description="Only to be used for testing"
Example output:
Account information:
  Auth Method ID:      ampw_1234567890
  Created Time:        Thu, 13 Jul 2023 22:30:53 PDT
  Description:         Only to be used for testing
  ID:                  acctpw_w3N3PlV34D
  Name:                tester
  Type:                password
  Updated Time:        Thu, 13 Jul 2023 22:40:48 PDT
  Version:             3
  Scope:
    ID:                global
    Name:              global
    Type:              global
  Authorized Actions:
    no-op
    read
    update
    delete
    set-password
    change-password
  Attributes:
    Login Name:        test-engineer
Usage
$ boundary accounts update [type] [options] [args]
Command options
-description(string: "")- The description to set on the account.-id(string: "")- The ID of the account to update.-name(string: "")- The name to set on the account.-version(string: "")- The version of the account against which to perform an update operation. If you do not specify a version, the command performs a check-and-set automatically.
Usages by type
The available types are: ldap, oidc, and password.
The boundary accounts update ldap command updates an LDAP account.
Example
The following example updates an LDAP account with the ID acctldap_1234567890 to add the name devops and the description ldap account for DevOps:
$ boundary accounts update ldap -id acctldap_1234567890 \
   -name "devops" \
   -description "ldap account for DevOps"
Usage
$ boundary accounts update ldap [options] [args]
CLI options
In addition to the command specific options, there are options common to all CLI commands and subcommands: