From 7d07daf07ae1ddffdf2a27d937721e6040b305a1 Mon Sep 17 00:00:00 2001 From: Johannes Nicolai Date: Wed, 2 Feb 2022 17:05:38 +0100 Subject: [PATCH] Refer to PLANETSCALE_SERVICE_TOKEN_ID instead of old Refer to PLANETSCALE_SERVICE_TOKEN_NAME --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5338aca..5cf3ce6 100644 --- a/README.md +++ b/README.md @@ -115,9 +115,9 @@ All scripts and IssueOps command in this repo have been designed to run successf ***ORG_NAME*** is name of your PlanetScale organization. Unless you [attach](#ps-attach-attach-existing-planetscale-branch-or-deploy-request-to-your-pr) a specific branch or deploy request to your PR, it defaults to the first PlanetScale org you joined with your account. If you rather like to change the source for the default DB name, it would be [this file](.pscale/cli-helper-scripts/set-db-and-org-and-branch-name.sh). -### PLANETSCALE_SERVICE_TOKEN_NAME and PLANETSCALE_SERVICE_TOKEN +### PLANETSCALE_SERVICE_TOKEN_ID and PLANETSCALE_SERVICE_TOKEN -If you do not like to authorize actions by clicking on authorization links in the browser, you can [create PlanetScale service tokens](https://docs.planetscale.com/reference/service-tokens#create-service-tokens-using-the-planetscale-ui). Don't forget to set the [proper scopes](https://docs.planetscale.com/reference/service-tokens#add-database-access-permissions) for the database operations you like to automate. +If you do not like to authorize actions by clicking on authorization links in the browser, you can [create a PlanetScale service token](https://docs.planetscale.com/reference/service-tokens#create-service-tokens-using-the-planetscale-ui). Don't forget to set the [proper scopes](https://docs.planetscale.com/reference/service-tokens#add-database-access-permissions) for the database operations you like to automate. **Note:** While service tokens can be used to work with existing databases, there is currently no scope to create new databases. This is why the scripts / workflows to create entirely new databses will always prompt you to authenticate via the Web UI.