microsoftgraph / microsoftgraph/msgraph-sdk-powershell

Feature request : Add-MgApplicationPassword return the SecretText in plain text

Open
#1,812 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Breaking Change Request: Feature
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Below command returns the password in plain text.

(Add-MgApplicationPassword ...).PasswordCredentials.SecretText

  1. It would helpful if the secret can returned in secure string.
  2. Also add switch -SecretAsPlainText to return secret text as plain text.

This help all scenarios so that one can get secret as secure sting and also in plain text.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Add-MgApplicationPassword command and locating the cmdlet implementation or configuration that defines PasswordCredentials.SecretText. Done means the secret can be returned as a secure string by default and the -SecretAsPlainText switch returns plain text for callers that explicitly request it.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
authentication, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.