Merge pull request #17956 from awanlin/topic/set-database-password-visbility
Updated db connection config to set password visibility to secret
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-common': patch
|
||||
---
|
||||
|
||||
Updated the backend database connection configuration schema to set the password visibility to secret
|
||||
Vendored
+14
-2
@@ -72,10 +72,22 @@ export interface Config {
|
||||
/** Default database client to use */
|
||||
client: 'better-sqlite3' | 'sqlite3' | 'pg';
|
||||
/**
|
||||
* Base database connection string or Knex object
|
||||
* Base database connection string, or object with individual connection properties
|
||||
* @visibility secret
|
||||
*/
|
||||
connection: string | object;
|
||||
connection:
|
||||
| string
|
||||
| Partial<{
|
||||
/**
|
||||
* Password that belongs to the client User
|
||||
* @visibility secret
|
||||
*/
|
||||
password: string;
|
||||
/**
|
||||
* Other connection settings
|
||||
*/
|
||||
[key: string]: unknown;
|
||||
}>;
|
||||
/** Database name prefix override */
|
||||
prefix?: string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user