HALO는 리소스 지출, 공개 프로젝트 구성, 최종 사용자 인증 및 프로젝트 관리에 별도의 자격 증명을 사용합니다. 하나의 범용 토큰을 모든 곳에 전달하는 대신 API 표면을 선택하세요.
#자격증명 매트릭스
| 자격 증명 | 예 | API 표면 |
|---|---|---|
| 클라이언트 API 키 | sk-… | 모델 게이트웨이, 메모리 |
| 게시 가능 키 | apikey: … | 공개 프로젝트 인증 |
| 프로젝트 사용자 액세스 | apikey + Bearer eyJ… | Current user and logout; bearer-only OAuth consent |
| OAuth 앱 액세스 | Bearer eyJ… | OAuth 사용자 정보 및 서비스 범위 |
| 대시보드 소유자 JWT | Bearer … | 프로젝트 구성 및 관리 |
#HALO 클라이언트 키
sk- 로 시작하는 키는 청구 가능한 게이트웨이 및 메모리 호출을 승인합니다. 신뢰할 수 있는 런타임에 남아 있어야 합니다.
#프로젝트 게시 가능 키
보내기 apikey 또는x-halo-project-key를 수신할 수 있도록 정확한 URL로 이동하세요. 공급자 승인 엔드포인트로의 탐색은 ?apikey= because a browser redirect cannot add a custom header. The key is public application identity, equivalent to a Supabase publishable key; it is not a client secret.
#프로젝트 사용자 전달자 토큰
The RS256 access token represents one Authentication user and one session. Current-user and logout calls must include both this bearer token and the matching Project publishable key. Verify it with the project JWKS and required claims. Do not use it as a model-spending key.
#대시보드 소유자 JWT
소유자 경로는 아래에 있습니다 /api/user. 백엔드는 인증 구성, 사용자 관리, 세션 취소, API 키 관리 또는 레지스트리 변형을 허용하기 전에 프로젝트 소유권을 확인합니다.