-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#ApplicationGateway Introduce SecureString to cmdlets. #4898
Changes from 3 commits
d9230b5
b353646
b7cad53
520618a
a937779
bd8222f
f32a243
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,4 +38,19 @@ | |
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md | ||
--> | ||
|
||
## Current Breaking Changes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please revert all changes here - we will automatically move upcoming breaking changes to current breaking changes when we release. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, good to know. |
||
## Current Breaking Changes | ||
|
||
The following cmdlets were affected this release: | ||
|
||
**(Add/New/Set)-AzureRmApplicationGatewaySslCertificate** | ||
- Changed type of parameter ``-Password`` from ``String`` to ``SecureString``. | ||
|
||
```powershell | ||
|
||
# Old | ||
(Add/New/Set)-AzureRmApplicationGatewaySslCertificate [other required parameters] -Password "P@ssw0rd" | ||
|
||
# New | ||
$password = ConvertTo-SecureString "P@ssw0rd" -AsPlainText -Force | ||
(Add/New/Set)-AzureRmApplicationGatewaySslCertificate [other required parameters] -Password $password | ||
``` |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,18 +25,4 @@ | |
https://github.com/Azure/azure-powershell/blob/dev/documentation/breaking-changes/breaking-change-template.md | ||
--> | ||
|
||
# Upcoming Breaking Changes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment |
||
|
||
The following cmdlets were affected this release: | ||
|
||
**(Get/Set/New)-AzureRmApplicationGatewaySslCertificate** | ||
- Parameter "Password" being replaced in favor of a SecureString | ||
|
||
```powershell | ||
|
||
# Old | ||
# (Get/Set/New)-AzureRmApplicationGatewaySslCertificate [other required parameters] -Password "plain-text string" | ||
|
||
# New | ||
# (Get/Set/New)-AzureRmApplicationGatewaySslCertificate [other required parameters] -Password $SecureStringVariable | ||
``` | ||
# Upcoming Breaking Changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can get rid of the pragma warnings here because it was suppressing the Obsolete warning. Please also get rid of the pragma warnings in Set-AzureRmApplicationGatewaySslCertificate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay