{"id":18689,"date":"2020-11-03T15:07:07","date_gmt":"2020-11-03T23:07:07","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/powershell\/?p=18689"},"modified":"2022-04-06T09:54:25","modified_gmt":"2022-04-06T17:54:25","slug":"secretmanagement-and-secretstore-updates-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/secretmanagement-and-secretstore-updates-2\/","title":{"rendered":"SecretManagement and SecretStore Updates"},"content":{"rendered":"<p>Two updated preview releases are now available on the PowerShell Gallery:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/Microsoft.PowerShell.SecretManagement\/0.5.4-preview5\" rel=\"nofollow\">SecretManagement preview5<\/a><\/li>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/Microsoft.PowerShell.SecretStore\/0.5.3-preview3\" rel=\"nofollow\">SecretStore preview3<\/a><\/li>\n<\/ul>\n<p>Before installing these modules please uninstall the current preview versions of the modules and restart your PowerShell session.<\/p>\n<p>To install these updates run the following commands:<\/p>\n<div class=\"highlight highlight-source-powershell\">\n<pre class=\"prettyprint\">Uninstall-Module Microsoft.PowerShell.SecretManagement -Force \r\nUninstall-Module Microsoft.PowerShell.SecretStore -Force \r\n#Restart your PowerShell session \r\nInstall-Module -Name Microsoft.PowerShell.SecretManagement -AllowPrerelease -Repository PSGallery \r\nInstall-Module -Name Microsoft.PowerShell.SecretStore -AllowPrerelease -Repository PSGallery \r\nRegister-SecretVault -Name SecretStore -ModuleName Microsoft.PowerShell.SecretStore -DefaultVault -AllowClobber<\/pre>\n<\/div>\n<h3><a id=\"user-content-secretmanagement-preview-5-updates\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/blob\/8cb8c5269208e9dfa11b1bf49dacc86563d18afa\/Posts\/2020-11-03-SecretManagementPreview5.md#secretmanagement-preview-5-updates\" aria-hidden=\"true\"><\/a>SecretManagement Preview 5 Updates<\/h3>\n<p>This update to SecretManagement improves the usability of the module by adding name completers, and adding functionality to\u00a0<code>Unregister-SecretVault<\/code>\u00a0for vault extension authors as well a a few other changes. Read the full list of changes below:<\/p>\n<ul>\n<li><code>Get-Secret<\/code>\u00a0<code>-Name<\/code>\u00a0parameter now accepts arguments with wild card characters as literals (<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\/issues\/67\">Issue #67<\/a>)<\/li>\n<li>The\u00a0<code>Verbose<\/code>\u00a0parameter switch is now passed to extension vault module functions as an\u00a0<code>AdditionalParameters<\/code>\u00a0name\/value pair (<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\/issues\/66\">Issue #66<\/a>)<\/li>\n<li><code>Get-SecretVault<\/code>\u00a0<code>-Name<\/code>\u00a0parameter now takes a\u00a0<code>string[]<\/code>\u00a0type argument (<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\/issues\/59\">Issue #59<\/a>)<\/li>\n<li><code>Test-SecretVault<\/code>\u00a0<code>-Name<\/code>\u00a0parameter now takes a\u00a0<code>string[]<\/code>\u00a0type argument and accepts wild card characters (<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\/issues\/56\">Issue #56<\/a>)<\/li>\n<li><code>Register-SecretVault<\/code>\u00a0now has a\u00a0<code>-PassThru<\/code>\u00a0parameter to return information on the secret vault just registered<\/li>\n<li>When an extension vault is unregistered and if the vault provides a\u00a0<code>Unregister-SecretVault<\/code>\u00a0function, that extension vault function will be called before the extension vault is unregistered (<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\/issues\/60\">Issue #60<\/a>)<\/li>\n<li>Vault name and Secret name completers have been added to the cmdlets (<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\/issues\/35\">Issue #35<\/a>)<\/li>\n<\/ul>\n<h3><a id=\"user-content-secretstore-preview-3-updates\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/blob\/8cb8c5269208e9dfa11b1bf49dacc86563d18afa\/Posts\/2020-11-03-SecretManagementPreview5.md#secretstore-preview-3-updates\" aria-hidden=\"true\"><\/a>SecretStore Preview 3 Updates<\/h3>\n<p>This update to SecretStore includes updates to the cmdlet interface based on user feedback and desire to optimize the usability of the vault. Read the full list of changes below:<\/p>\n<ul>\n<li><code>Set-SecretStoreConfiguration<\/code>\u00a0now has a\u00a0<code>-PassThru<\/code>\u00a0parameter to write the store configuration object to the pipeline, and no longer writes the configuration object by default (<a href=\"https:\/\/github.com\/PowerShell\/SecretStore\/issues\/25\">Issue #25<\/a>).<\/li>\n<li>A\u00a0<code>-PasswordTimeout<\/code>\u00a0value of zero now allows the provided password to be used only once (<a href=\"https:\/\/github.com\/PowerShell\/SecretStore\/issues\/30\">Issue #30<\/a>).<\/li>\n<li>When setting a password, an empty password is no longer accepted (<a href=\"https:\/\/github.com\/PowerShell\/SecretStore\/issues\/31\">Issue #31<\/a>).<\/li>\n<li><code>Set-SecretStorePassword<\/code>\u00a0now has a parameter set that takes old\/new password arguments, to allow setting password by automation (<a href=\"https:\/\/github.com\/PowerShell\/SecretStore\/issues\/26\">Issue #26<\/a>).<\/li>\n<li><code>Reset-SecretStore<\/code>\u00a0now has a new\u00a0<code>-Password<\/code>\u00a0and\u00a0<code>-PassThru<\/code>\u00a0parameter.<\/li>\n<li><code>Reset-SecretStore<\/code>\u00a0will now prompt immediately for a new password, if password authentication is selected and prompt interaction is allowed (<a href=\"https:\/\/github.com\/PowerShell\/SecretStore\/issues\/34\">Issue #34<\/a>)<\/li>\n<\/ul>\n<h3><a id=\"user-content-finding-other-available-extension-vaults\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/blob\/8cb8c5269208e9dfa11b1bf49dacc86563d18afa\/Posts\/2020-11-03-SecretManagementPreview5.md#finding-other-available-extension-vaults\" aria-hidden=\"true\"><\/a>Finding other available extension Vaults<\/h3>\n<p>To find other SecretManagement extension vault modules, search the PowerShell Gallery for the &#8220;SecretManagement&#8221; tag. Some community vault extensions that are available:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/SecretManagement.KeePass\/0.0.4.4\" rel=\"nofollow\">KeePass<\/a><\/li>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/SecretManagement.LastPass\/0.1.0\" rel=\"nofollow\">LastPass<\/a><\/li>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/SecretManagement.Hashicorp.Vault.KV\/0.0.1-Preview\" rel=\"nofollow\">Hashicorp Vault<\/a><\/li>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/SecretManagement.KeyChain\/0.1.1\" rel=\"nofollow\">KeyChain<\/a><\/li>\n<li><a href=\"https:\/\/www.powershellgallery.com\/packages\/SecretManagement.JustinGrote.CredMan\/1.0.0\" rel=\"nofollow\">CredMan<\/a><\/li>\n<\/ul>\n<p>Thank you to everyone who has created vaults thus far!<\/p>\n<h3><a id=\"user-content-feedback-and-support\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/blob\/8cb8c5269208e9dfa11b1bf49dacc86563d18afa\/Posts\/2020-11-03-SecretManagementPreview5.md#feedback-and-support\" aria-hidden=\"true\"><\/a>Feedback and Support<\/h3>\n<p>Community feedback has been essential to the iterative development of these modules. Thank you to everyone who has contributed issues, and feedback thus far! As we approach General Availability, targeted for later this year, for these modules now is the time to test the modules against your scenarios to request changes (especially breaking ones) and discover bugs. To file issues or get support for the SecretManagement interface or vault development experience please use the\u00a0<a href=\"https:\/\/github.com\/PowerShell\/SecretManagement\">SecretManagement repository<\/a>. For issues which pertain specifically to the SecretStore and its cmdlet interface please use the\u00a0<a href=\"https:\/\/github.com\/PowerShell\/SecretStore\">SecretStore repository<\/a>.<\/p>\n<p>Sydney Smith PowerShell Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two updated preview releases are now available on the PowerShell Gallery: SecretManagement preview5 SecretStore preview3 Before installing these modules please uninstall the current preview versions of the modules and restart your PowerShell session. To install these updates run the following commands: Uninstall-Module Microsoft.PowerShell.SecretManagement -Force Uninstall-Module Microsoft.PowerShell.SecretStore -Force #Restart your PowerShell session Install-Module -Name Microsoft.PowerShell.SecretManagement -AllowPrerelease [&hellip;]<\/p>\n","protected":false},"author":2299,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[3174,3181],"class_list":["post-18689","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-secretmanagement","tag-secretstore"],"acf":[],"blog_post_summary":"<p>Two updated preview releases are now available on the PowerShell Gallery: SecretManagement preview5 SecretStore preview3 Before installing these modules please uninstall the current preview versions of the modules and restart your PowerShell session. To install these updates run the following commands: Uninstall-Module Microsoft.PowerShell.SecretManagement -Force Uninstall-Module Microsoft.PowerShell.SecretStore -Force #Restart your PowerShell session Install-Module -Name Microsoft.PowerShell.SecretManagement -AllowPrerelease [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/18689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/2299"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=18689"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/18689\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=18689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=18689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=18689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}