Azure / Azure/azure-powershell
[Feature]: Get-AzRedisCacheKey should use securestring to protect key in result
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
### Description of the new feature
Below is current return:
```
Get-AzRedisCacheKey -ResourceGroupName "MyResourceGroup" -Name "MyCacheKey"
PrimaryKey : pJ+**********=
SecondaryKey : pJ+**********=
```
data type of PrimaryKey and SecondaryKey should be securestring.
### Proposed implementation details (optional)
_No response_
Contributor guide
Research direction
Start from the Get-AzRedisCacheKey cmdlet and trace how its PrimaryKey and SecondaryKey result properties are defined and returned. Check the existing cmdlet tests, if present, for the result shape and add coverage for the requested types. Done means both properties are returned as SecureString values while the cmdlet continues to retrieve Redis cache keys correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, powershell, redis
- Domain
- cli, cloud, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100