refactor: review comments

This commit is contained in:
Pranav C
2024-10-06 07:21:34 +00:00
parent 8f04bd8781
commit 58ea2db4b9
16 changed files with 66 additions and 47 deletions

View File

@@ -38,7 +38,7 @@ To update a secret in NocoDB, you can use the `nc-secret-cli` package. Follow th
Alternatively, you can use the `nc-secret-cli` executable to update secrets.
1. Download the `nc-secret-cli` executable from the [NocoDB website](https://github.com/nocodb/nc-secret-cli/releases/latest).
4. Run the executable using the following command:
2. Run the executable using the following command:
```bash
NC_DB="pg://host:port?u=user&p=password&d=database" ./nc-secret-macos-arm64 update --prev <previous-secret> --new <new-secret>
@@ -46,7 +46,7 @@ Alternatively, you can use the `nc-secret-cli` executable to update secrets.
Replace `<prev-secret>` with the name of the secret you used previously, and `<new-secret>` with the new value of the secret.
5. After running the command, the secret will be updated in NocoDB.
3. After running the command, the secret will be updated in NocoDB.
Note: All environment variables are supported, including `NC_DB`, `NC_DB_JSON`, `NC_DB_JSON_FILE`, `DATABASE_URL`, and `DATABASE_URL_FILE`. You can use any of these variables to specify your database connection. Alternately you can use following equivalent parameters.
@@ -57,4 +57,4 @@ Note: All environment variables are supported, including `NC_DB`, `NC_DB_JSON`,
| `NC_DB_JSON` | `--nc-db-json` |
| `NC_DB_JSON_FILE` | `--nc-db-json-file` |
| `DATABASE_URL` | `--database-url` |
| `DATABASE_URL_FILE` | `--database-url-file` |
| `DATABASE_URL_FILE` | `--database-url-file` |