토큰 회전

Panther API 토큰 회전 작업

개요

다음 호출로 Panther API 토큰을 교체할 수 있습니다 rotateAPIToken GraphQL API 엔드포인트.

Console의 API Playground 또는 GraphQL-over-HTTP API를 사용하여 Panther의 API를 호출할 수 있습니다. 이러한 방법에 대해 자세히 알아보려면 Panther API.

API 토큰 교체

Panther API 토큰을 교체하려면:

  1. 아래 작업을 수행하여 토큰을 교체하십시오.

    • mutation rotateAPIToken() {
        rotateAPIToken() {
          token{ value }
        }
      }
    • 요청 헤더에 교체하려는 API 토큰을 사용하세요.

    • 응답 페이로드에 새로 발급된 API 토큰이 표시됩니다.

  2. 새로 발급된 토큰을 복사하세요—이 토큰은 한 번만 표시됩니다.

API 플레이그라운드 예시

Panther 콘솔의 API 플레이그라운드에서 수행된 rotateAPIToken 다음과 같습니다:

The API Playground page in the Console shows a rotateAPIToken call and response. There is a section at the bottom for Request Headers, and on the right a Documentation Explorer.

Last updated

Was this helpful?