accounts update
Command: boundary accounts update
The accounts update command updates an existing account's information for
the JWT, 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: jwt, ldap, oidc, and password.
The boundary accounts update jwt command updates the name or description of a JWT account.
Example
The following example updates a JWT account with the ID acctjwt_1234567890 to change its name and description:
$ boundary accounts update jwt \
-id acctjwt_1234567890 \
-name "build-agent-prod" \
-description "JWT account for production build agents"
Usage
$ boundary accounts update jwt [options] [args]
The boundary accounts update jwt command has no JWT-specific options. Use the command options (-id, -name, -description, -version) to update a JWT account.