Skip to content

RDBug 6410988:[PSH] Change the default value of -KeyName in New-Azure… #2281

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

Merged
merged 1 commit into from
May 20, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ namespace Microsoft.Azure.Commands.Management.Storage
[Cmdlet(VerbsCommon.New, StorageAccountKeyNounStr), OutputType(typeof(StorageAccountKey))]
public class NewAzureStorageAccountKeyCommand : StorageAccountBaseCmdlet
{
private const string Key1 = "Key1";
private const string Key1 = "key1";

private const string Key2 = "Key2";
private const string Key2 = "key2";

[Parameter(
Position = 0,
Expand All @@ -48,7 +48,7 @@ public class NewAzureStorageAccountKeyCommand : StorageAccountBaseCmdlet
Mandatory = true,
ValueFromPipelineByPropertyName = true,
HelpMessage = "Storage Account Key.")]
[ValidateSet(Key1, Key2, IgnoreCase = true)]
[ValidateSet(Key1, Key2, IgnoreCase = false)]
public string KeyName { get; set; }

public override void ExecuteCmdlet()
Expand Down