`groups` — 그룹 리소스 만들고 관리하기

groups — 그룹 리소스 만들고 관리하기

boundary groups 명령어는 Boundary에서 그룹 리소스를 만들고 관리하는 데 사용해요. 그룹은 접근 제어 측면에서 동등하게 취급되는 사용자들의 모임을 나타내는 리소스예요.

그룹은 프린시펄(principal)이라서 역할(role)에 할당할 수 있어요. 그룹에 할당된 역할은 그룹 안의 사용자들에게 간접적으로 할당되고, 사용자들은 할당된 역할의 모든 권한을 받아요. 그룹은 global, organization, project 스코프 어디에서든 정의할 수 있어요.

출처: HashiCorp Boundary docs

본문

예시 (Examples)

다음 예시는 o_R0wbo0H6Zl 스코프에 그룹 group01을 만들어요:

$ boundary groups create -name "group01" \
   -description "A test group" \
   -scope-id o_R0wbo0H6Zl

예시 출력:

Group information:
  Created Time:        Thu, 24 Aug 2023 09:51:44 PDT
  Description:         A test group
  ID:                  g_XzlDiNLgoz
  Name:                group01
  Updated Time:        Thu, 24 Aug 2023 09:51:44 PDT
  Version:             1

  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)

Usage: boundary groups [sub command] [options] [args]

  # ...

Subcommands:
    add-members       Add members to a group
    create            Create a group
    delete            Delete a group
    list              List a group
    read              Read a group
    remove-members    Remove members from a group
    set-members       Set the full contents of the members on a group
    update            Update a group

더 자세한 정보, 예시, 사용법은 사이드바에서 하위 명령어 이름을 클릭하거나 아래 링크를 눌러 살펴볼 수 있어요.