groups update

groups update

출처: HashiCorp Boundary docs

Command: boundary groups update

The groups update command lets you update an existing group's information.

Examples

In this example, an existing group (g_9SpLKOoTse) has the following details:

Group information:
  Created Time:        Thu, 24 Aug 2023 13:58:50 PDT
  Description:         Support engineering group
  ID:                  g_9SpLKOoTse
  Name:                support
  Updated Time:        Thu, 24 Aug 2023 13:58:50 PDT
  Version:             3

...snip...

The following command updates the group's description and version:

$ boundary groups update -id g_9SpLKOoTse \
   -description "Customer support for product XXX" \
   -version 4

Example output:

Group information:
  Created Time:        Thu, 24 Aug 2023 13:58:50 PDT
  Description:         Customer support for product XXX
  ID:                  g_9SpLKOoTse
  Name:                support
  Updated Time:        Thu, 24 Aug 2023 14:33:18 PDT
  Version:             4

  Scope:
    ID:                o_R0wbo0H6Zl
    Name:              quick-start-org
    Parent Scope ID:   global
    Type:              org

  Authorized Actions:
    no-op
    read
    update
    delete
    add-members
    set-members
    remove-members

Usage

$ boundary groups update [options] [args]

Command options

  • -description (string: "") - The description to set on the group.
  • -id (string: "") - The ID of the group to update.
  • -name (string: "") - The name to set on the group.
  • -version (string: "") - The version of the group to update. If you do not specify a version, the command performs a check-and-set automatically.

CLI options In addition to the command specific options, there are options common to all CLI commands and subcommands:

  • Connection options
  • Client options
  • Output options
  • Environment variables

Edit this page on GitHub