Skip to content

Commit

Permalink
Merge pull request #1475 from appwrite/feat-update-dynamic-api-keys-docs
Browse files Browse the repository at this point in the history
Update dynamic api keys docs
  • Loading branch information
stnguyen90 authored Nov 5, 2024
2 parents 7731173 + e979daf commit d41fd8c
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 @@ -1552,6 +1552,8 @@ 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.

During execution, dynamic API keys are automatically provided in the `x-appwrite-key` [header](#headers).

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 d41fd8c

Please sign in to comment.