netauth entity membership

Add or remove direct group memberships

Synopsis

The membership command adds and removes groups from an entity. These groups are direct memberships that are only influenced by EXCLUDE expansions.

The caller must posses the MODIFY_GROUP_MEMBERS capability or be a member of the group that is listed to manage the membership of the target group.

netauth entity membership <entity> <ADD|DROP> <group> [flags]

Examples

$ netauth entity membership demo2 add demo-group
Membership updated successfully

$ netauth entity membership demo2 drop demo-group
Membership updated successfully

Options

  -h, --help   help for membership

Options inherited from parent commands

      --config string   Use an alternate config file
      --entity string   Specify a non-default entity to make requests as
      --secret string   Specify the request secret on the command line

SEE ALSO

Auto generated by spf13/cobra on 3-Jun-2022