Personal API Tokens
Personal API tokens authenticate CLI and API calls.
Use personal tokens instead of shared workspace tokens so internalpage can keep the page creator tied to the actual user or automation owner.
유효기간
개인용 API Token에는 만료일이 없다. 이전에 발급한 토큰에도 같은 정책을 적용한다. 토큰을 폐기하거나 발급자의 워크스페이스 접근 권한이 없어지면 사용할 수 없다. 로그인 세션과 OAuth 연결용 토큰의 유효기간은 별도로 유지한다.
Token handling
- Copy the raw token only once when it is created.
- Store it in a password manager, CI secret, or the CLI’s local config file.
- Save it with
loginfor repeated local CLI and AI-agent usage. - Pass it as
IP_TOKENfor CI or one-off commands. - Revoke old tokens when a laptop, CI job, or ownership boundary changes.
npx @internalpage/cli loginFor non-interactive setup, pass the token on stdin.
printf '%s' "$IP_TOKEN" | npx @internalpage/cli login --token-stdinUse an IP_TOKEN environment variable only when a CI job or short-lived shell
should avoid writing local CLI config.