openclaw devices

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

명령

openclaw devices list

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

openclaw devices list
openclaw devices list --json

openclaw devices approve <requestId>

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

openclaw devices approve <requestId>

openclaw devices reject <requestId>

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

openclaw devices reject <requestId>

openclaw devices rotate --device <id> --role <role> [--scope <scope...>]

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

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

openclaw devices revoke --device <id> --role <role>

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

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

일반 옵션

  • --url <url>: Gateway WebSocket URL (구성된 경우 gateway.remote.url이 기본값).
  • --token <token>: Gateway 토큰 (필요한 경우).
  • --password <password>: Gateway 비밀번호 (비밀번호 인증).
  • --timeout <ms>: RPC 타임아웃.
  • --json: JSON 출력 (스크립팅에 권장).

참고사항

  • 토큰 회전은 새 토큰을 반환합니다 (민감). 비밀처럼 취급하세요.
  • 이러한 명령은 operator.pairing (또는 operator.admin) 범위가 필요합니다.