diff --git a/CHANGELOG.md b/CHANGELOG.md
index d3729f0..b9f084e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,19 @@
# CHANGELOG
+## 1.0.0 - 2021-3-25
+
+### Fixes
+
+- `Set-SecretStoreConfiguration` will throw an error when setting a password if a password has already been set. In this case `Set-SecretStorePassword` must be used to reset an existing password.
+
+- Fixed license Url in module manifest.
+
+### Changes
+
+- Minor changes to architecture document.
+
+### New Features
+
## 0.9.2 - 2021-3-15
### Fixes
@@ -12,7 +26,7 @@
### New Features
-- `Set-SecretStoreConfiguration` command now takes a `-Password` parameter so that there is not need to prompt for a password (Issue #46).
+- `Set-SecretStoreConfiguration` command now takes a `-Password` parameter so that there is no need to prompt for a password (Issue #46).
## 0.9.1 - 2021-3-1
diff --git a/Docs/ARCHITECTURE.md b/Docs/ARCHITECTURE.md
index 83dc982..40f3f61 100644
--- a/Docs/ARCHITECTURE.md
+++ b/Docs/ARCHITECTURE.md
@@ -25,10 +25,10 @@ Configuration and data are stored in separate files.
File location depends on the platform OS.
For Windows platforms the location is:
-`$env:USERPROFILE\AppData\Local\Microsoft\PowerShell\secretmanagement\localstore\`
+`%LOCALAPPDATA%\Microsoft\PowerShell\secretmanagement\localstore\`
For Non-Windows platforms the location is:
-`~/.secretmanagement/localstore/`
+`$HOME/.secretmanagement/localstore/`
### Scope
diff --git a/src/Microsoft.PowerShell.SecretStore.psd1 b/src/Microsoft.PowerShell.SecretStore.psd1
index 072ecf0..de3de1f 100644
--- a/src/Microsoft.PowerShell.SecretStore.psd1
+++ b/src/Microsoft.PowerShell.SecretStore.psd1
@@ -11,7 +11,7 @@ NestedModules = @('.\Microsoft.PowerShell.SecretStore.Extension')
RequiredModules = @('Microsoft.PowerShell.SecretManagement')
# Version number of this module.
-ModuleVersion = '0.9.2'
+ModuleVersion = '1.0.0'
# Supported PSEditions
CompatiblePSEditions = @('Core')
diff --git a/src/code/Microsoft.PowerShell.SecretStore.csproj b/src/code/Microsoft.PowerShell.SecretStore.csproj
index 0ab40e8..95f9ab7 100644
--- a/src/code/Microsoft.PowerShell.SecretStore.csproj
+++ b/src/code/Microsoft.PowerShell.SecretStore.csproj
@@ -5,9 +5,9 @@
Library
Microsoft.PowerShell.SecretStore
Microsoft.PowerShell.SecretStore
- 0.9.2.0
- 0.9.2
- 0.9.2
+ 1.0.0.0
+ 1.0.0
+ 1.0.0
net461
diff --git a/src/code/SecretStore.cs b/src/code/SecretStore.cs
index 1eacf06..3c35b2b 100644
--- a/src/code/SecretStore.cs
+++ b/src/code/SecretStore.cs
@@ -207,6 +207,7 @@ protected override void EndProcessing()
var passwordRequired = LocalSecretStore.PasswordRequired;
if (passwordRequired == SecureStoreFile.PasswordConfiguration.Required &&
Authentication == Authenticate.Password &&
+ SecureStoreFile.StoreFileExists() &&
password != null)
{
ThrowTerminatingError(
@@ -313,7 +314,7 @@ protected override void BeginProcessing()
this));
}
- WriteWarning("!!This operation will completely remove all SecretStore module secrets and reset configuration settings to default values!!");
+ WriteWarning("!!This operation completely removes all SecretStore module secrets and resets configuration settings to new values!!");
}
protected override void EndProcessing()