From e2d9a4b7bdf8e8003fc32a5855b08d0c54f353ba Mon Sep 17 00:00:00 2001 From: Stevan Dedovic Date: Thu, 10 Apr 2025 11:50:15 -0500 Subject: [PATCH 1/2] Add documentation around Environment Variable configuration --- docs/index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/index.md b/docs/index.md index 89406b7..4fb63a3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,3 +25,16 @@ provider "supabase" { - `access_token` (String, Sensitive) Supabase access token - `endpoint` (String) Supabase API endpoint + +## Authentication + +Credentials can be provided using the `SUPABASE_ACCESS_TOKEN` environment variable. + +For example: +```tf +provider "aws" {} +``` +```shell +% export SUPABASE_ACCESS_TOKEN="anaccesstoken" +% terraform plan +``` From 15dd217a2192f0f8c05d08d250d38e138957d29d Mon Sep 17 00:00:00 2001 From: Stevan Dedovic Date: Thu, 10 Apr 2025 11:52:50 -0500 Subject: [PATCH 2/2] typo --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 4fb63a3..3c0451f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -32,7 +32,7 @@ Credentials can be provided using the `SUPABASE_ACCESS_TOKEN` environment variab For example: ```tf -provider "aws" {} +provider "supabase" {} ``` ```shell % export SUPABASE_ACCESS_TOKEN="anaccesstoken"