Skip to content

Commit

Permalink
TssSecret - rename GetValue to GetFieldValue
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Jan 2, 2021
1 parent cfd5304 commit d740ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/classes/TssSecret.class.ps1
Expand Up @@ -62,7 +62,7 @@ class TssSecret {
return [pscredential]::new($username,(ConvertTo-SecureString -AsPlainText -Force -String $passwd))
}

[System.String] GetValue([string]$Slug) {
[System.String] GetFieldValue([string]$Slug) {
$value = $this.Items.Where({$_.Slug -eq $Slug}).ItemValue
return $value
}
Expand Down
2 changes: 1 addition & 1 deletion src/en-us/about_tsssecret.help.txt
Expand Up @@ -22,7 +22,7 @@ METHODS
Pulls the username field and the field flagged as the password (IsPassword = true)
Creates and will output a System.Management.Automation.PSCredential object

[System.String] GetValue(string Slug)
[System.String] GetFieldValue(string Slug)
Pulls the ItemValue of the field based on the slug name

RELATED LINKS:
Expand Down

0 comments on commit d740ae7

Please sign in to comment.