Skip to content

Commit

Permalink
perf: use password input for API key and secret in DA
Browse files Browse the repository at this point in the history
  • Loading branch information
rentu committed Jan 20, 2025
1 parent 0ade4f8 commit 61fc8b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fx-core/src/question/other.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 61fc8b3

Please sign in to comment.