From f8b68dc0eb21d9f1af162ed93fe1c891411363c7 Mon Sep 17 00:00:00 2001 From: Ronen Hilewicz Date: Mon, 8 Jul 2024 08:56:13 -0400 Subject: [PATCH] Update sample docs for flask, go, node, and rails --- docs/getting-started/samples/flask.mdx | 3 ++- docs/getting-started/samples/go.mdx | 3 ++- docs/getting-started/samples/node.mdx | 3 ++- docs/getting-started/samples/rails.mdx | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/samples/flask.mdx b/docs/getting-started/samples/flask.mdx index 40f1882..cf3404c 100644 --- a/docs/getting-started/samples/flask.mdx +++ b/docs/getting-started/samples/flask.mdx @@ -19,7 +19,8 @@ pipenv install ``` ### Set up the `.env` file -Copy the `.env.example` file to `.env` and update the `ASERTO_AUTHORIZER_CERT_PATH` and `ASERTO_DIRECTORY_GRPC_CERT_PATH` to correspond to the path in which Topaz generated your certificates (by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). +Copy the `.env.example` file to `.env` and update the `ASERTO_GRPC_CA_CERT_PATH` to correspond to the path in which Topaz generated your certificates +(by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). ```bash cp .env.example .env diff --git a/docs/getting-started/samples/go.mdx b/docs/getting-started/samples/go.mdx index 8406fff..416f168 100644 --- a/docs/getting-started/samples/go.mdx +++ b/docs/getting-started/samples/go.mdx @@ -9,7 +9,8 @@ git clone https://github.com/aserto-demo/todo-go-v2 ``` ## Set up an `.env` file -Copy the `.env.example` file to `.env` and update the `ASERTO_AUTHORIZER_CERT_PATH` and `ASERTO_DIRECTORY_GRPC_CERT_PATH` to correspond to the path in which Topaz generated your certificates (by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). +Copy the `.env.example` file to `.env` and update the `ASERTO_GRPC_CA_CERT_PATH` to correspond to the path in which Topaz generated your certificates +(by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). ```bash cp .env.example .env diff --git a/docs/getting-started/samples/node.mdx b/docs/getting-started/samples/node.mdx index 7a5aaaa..003ebcf 100644 --- a/docs/getting-started/samples/node.mdx +++ b/docs/getting-started/samples/node.mdx @@ -15,7 +15,8 @@ yarn ``` ## Set up an `.env` file -Copy the `.env.example` file to `.env` and update the `ASERTO_GRPC_CA_CERT_PATH` to correspond to the path in which Topaz generated your certificates (by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). +Copy the `.env.example` file to `.env` and update the `ASERTO_GRPC_CA_CERT_PATH` to correspond to the path in which Topaz generated your certificates +(by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). `ASERTO_DIRECTORY_REJECT_UNAUTHORIZED=false` will let you connect to a local directory without passing the certificate. ```bash diff --git a/docs/getting-started/samples/rails.mdx b/docs/getting-started/samples/rails.mdx index 9f7c93c..4304095 100644 --- a/docs/getting-started/samples/rails.mdx +++ b/docs/getting-started/samples/rails.mdx @@ -16,7 +16,8 @@ bundle install ``` ## Set up an `.env` file -Copy the `.env.example` file to `.env` and update the `ASERTO_AUTHORIZER_CERT_PATH` and `ASERTO_DIRECTORY_GRPC_CERT_PATH` to correspond to the path in which Topaz generated your certificates (by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). +Copy the `.env.example` file to `.env` and update the `ASERTO_GRPC_CA_CERT_PATH` to correspond to the path in which Topaz generated your certificates +(by default this path will be `$HOME/.local/share/topaz/certs/grpc-ca.crt`, or `$HOME\AppData\Local\topaz\certs` on Windows). ```bash cp .env.example .env