Reference
Appwrite
Push an environment into an Appwrite function's variables as secrets.
Push an environment into an Appwrite function's variables as secrets.
Connection
| What | This provider |
|---|---|
| Vendor | Appwrite |
| Key | appwrite-function-variable |
| Availability | available. You can connect it today. |
| Credential we hold | appwrite-key |
| Values read back | no |
| Activation | on-next-deploy |
Directions
| Direction | What it does |
|---|---|
export | We write names and values from your environment into the store. |
Appwrite returns no value once it holds one, so we can write here and cannot read back.
Activation
on-next-deploy. A new value waits there and arrives with your next deploy.
Conflict policies
| Direction | Policies you can pick |
|---|---|
export | create_only, overwrite, overwrite_and_prune |
How syncs work says what each one does.
Connect
Paste a credential from the vendor. We seal it and never show it again.
| Field | Label | Kind | Required | What it is |
|---|---|---|---|---|
apiKey | API key | secret; we mask it here and seal it | yes | A server API key with functions.read and functions.write. |
Connection fields
You set these when you connect. Every mapping on the connection shares them.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
projectId | Project | text | yes | no | The project ID from your Appwrite console. |
region | Region | text | no | yes | Leave empty unless your project's API endpoint shows a region. |
Mapping fields
You answer these once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
functionId | Function | text | yes | no | The function whose variables this environment maps onto. |
Required permissions
We probe for these when we verify the connection.
| Permission | Directions | Blocking | Without it |
|---|---|---|---|
functions.read | every direction | yes | Preview cannot list the function's variables. |
functions.write | export | yes | Export cannot write anything. |