alpacon token acl add

API 토큰에 대한 특정 명령어 접근을 정의합니다. 이 명령어는 지정된 토큰이 실행할 수 있는 명령어를 제어하기 위한 새 ACL 규칙을 추가합니다.

alpacon token acl add [flags]

옵션 (Options)

  -c, --command string   허용할 명령어
  -h, --help             add 명령어에 대한 도움말 출력
  -t, --token string     토큰 ID 또는 이름

예제

대화형으로 ACL 규칙 추가:

alpacon token acl add --token=my-token

특정 토큰 및 명령어로 ACL 규칙 추가:

alpacon token acl add --token=my-token --command="server ls"