diff --git a/packages/fx-core/src/question/other.ts b/packages/fx-core/src/question/other.ts index 1a8b6f6ba0..78e33a4c65 100644 --- a/packages/fx-core/src/question/other.ts +++ b/packages/fx-core/src/question/other.ts @@ -952,6 +952,7 @@ export function apiSpecApiKeyQuestion(): IQTreeNode { type: "text", name: QuestionNames.ApiSpecApiKey, cliShortName: "k", + password: true, title: getLocalizedString("core.createProjectQuestion.ApiKey"), cliDescription: "Api key for OpenAPI spec.", forgetLastValue: true, @@ -1188,6 +1189,7 @@ function oauthClientSecretQuestion(): TextInputQuestion { type: "text", name: QuestionNames.OauthClientSecret, cliShortName: "c", + password: true, title: getLocalizedString("core.createProjectQuestion.OauthClientSecret"), cliDescription: "Oauth client secret for OpenAPI spec.", forgetLastValue: true,