Skip to content

openclaw devices

장치 페어링 요청 및 장치 범위 토큰을 관리합니다.

명령

openclaw devices list

보류 중인 페어링 요청 및 페어링된 장치를 나열합니다.

openclaw devices list
openclaw devices list --json

openclaw devices approve <requestId>

보류 중인 장치 페어링 요청을 승인합니다.

openclaw devices approve <requestId>

openclaw devices reject &lt;requestId&gt;

보류 중인 장치 페어링 요청을 거부합니다.

openclaw devices reject <requestId>

openclaw devices rotate --device &lt;id&gt; --role &lt;role&gt; [--scope &lt;scope...&gt;]

특정 역할에 대한 장치 토큰을 순환합니다(선택적으로 범위 업데이트).

openclaw devices rotate --device <deviceId> --role operator --scope operator.read --scope operator.write

openclaw devices revoke --device &lt;id&gt; --role &lt;role&gt;

특정 역할에 대한 장치 토큰을 취소합니다.

openclaw devices revoke --device <deviceId> --role node

공통 옵션

  • --url &lt;url&gt;: 게이트웨이 WebSocket URL(구성 시 기본값은 gateway.remote.url).
  • --token &lt;token&gt;: 게이트웨이 토큰(필요한 경우).
  • --password &lt;password&gt; : 게이트웨이 비밀번호(비밀번호 인증)입니다.
  • --timeout &lt;ms&gt;: RPC 시간 초과.
  • --json: JSON 출력(스크립팅에 권장).

참고: --url를 설정하면 CLI는 구성 또는 환경 자격 증명으로 대체되지 않습니다. --token 또는 --password를 명시적으로 전달합니다. 명시적 자격 증명이 누락되면 오류가 발생합니다.

메모

  • 토큰 순환은 새 토큰을 반환합니다(민감). 비밀처럼 다루세요.
  • 이 명령에는 operator.pairing(또는 operator.admin) 범위가 필요합니다.

비공식 커뮤니티 번역 · 공식 영문 문서