Repository navigation
docs: document personal access tokens - #1226
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
…al-access-tokens # Conflicts: # en/self-host/deploy/configuration/environments.mdx # ja/self-host/deploy/configuration/environments.mdx # zh/self-host/deploy/configuration/environments.mdx
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Summary
Documents personal access tokens for Dify 1.20.0, in English, Chinese, and Japanese. A member creates a token on their account page, and a CI job or coding agent uses it with
difyctlto run apps and set up integrations without a sign-in.Changes
cli/personal-access-tokens): when to use a token instead of a sign-in, which commands each scope allows, how to give the token todifyctl, and troubleshooting. It sits with the CI page in a new Automate group in the CLI navigation.DIFY_TOKENandDIFY_WORKSPACE_IDrows. Results, Errors, and Exit Codes updates the rate limit and theinvalid bearerrow, and adds aworkspace not foundrow.SECRET_KEYand the Dify CLI and Programmatic API section cover tokens.OPENAPI_ENABLEDnow defaults totrue(feat(api): enable OpenAPI by default dify#46606), and theENABLE_OAUTH_BEARERdefault is corrected fromfalsetotrue, so the section says the CLI and tokens are on by default.Verification
2dd75069d6. A fact-check of this round's 19 claims found one mismatch, theworkspace not foundrow, which is fixed. The claims were re-checked againstmainat733454eae3; the only change that touched the docs is theOPENAPI_ENABLEDdefault.*.defaultsfiles yet. This change adds and removes no variables.Notes for reviewers
release/1.20.0is merged into this branch. One conflict, theSECRET_KEYwarning, keeps the release branch's wording plus the sentence that restoring the key recovers personal access tokens.OPENAPI_ENABLEDdefault was verified on difymain; dify has no 1.20.0 branch or tag yet, so confirm the release includes it./cli/personal-access-tokens(fix(web): point PAT "How to use it" link to the CLI PAT docs dify#46604), so that path must not change.Closes DC-431