Skip to content

Commit

Permalink
Merge pull request #1241 from appwrite/docs-dynamic-api-keys
Browse files Browse the repository at this point in the history
Docs: Dynamic API keys
  • Loading branch information
stnguyen90 authored Aug 26, 2024
2 parents 7a7f74f + 5494935 commit d401b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/docs/products/functions/develop/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,8 @@ Dynamic API keys are the same as [API keys](/docs/advanced/platform/api-keys) bu
They are generated in your functions per execution.
However, you can only use dynamic API keys inside Appwrite functions.

During the build process, dynamic API keys are automatically provided as the environment variable `APPWRITE_FUNCTION_API_KEY`. This environment variable doesn't need to be initialized.

Dynamic API keys grant access and operate without sessions.
They allow your function to act as an admin-type role instead of acting on behalf of a user.
Update the function settings to configure the scopes of the function.
Expand Down

0 comments on commit d401b07

Please sign in to comment.