Ensure that all relevant config fields are properly marked as secret

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-09-20 13:44:13 +02:00
parent e456a9e8d4
commit 3963d0b885
3 changed files with 11 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': patch
'@backstage/integration': patch
---
Ensure that all relevant config fields are properly marked as secret
+2 -2
View File
@@ -39,7 +39,7 @@ export interface Config {
*
* If no credential is specified anonymous access is used.
*
* @visibility secret
* @deepVisibility secret
* @deprecated Use `credentials` instead.
*/
credential?: {
@@ -54,7 +54,7 @@ export interface Config {
* If not organization matches the first credential without an organization is used.
*
* If no credentials are specified at all, either a default credential (for Azure DevOps) or anonymous access (for Azure DevOps Server) is used.
* @visibility secret
* @deepVisibility secret
*/
credentials?: {
clientId?: string;
@@ -192,6 +192,9 @@ export interface Config {
password: string;
}
| {
/**
* @visibility secret
*/
apiKey: string;
};
}