diff --git a/packages/fx-core/src/question/other.ts b/packages/fx-core/src/question/other.ts index af271df663..ad4a876b4c 100644 --- a/packages/fx-core/src/question/other.ts +++ b/packages/fx-core/src/question/other.ts @@ -796,6 +796,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, @@ -1032,6 +1033,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,