Skip to content

Commit

Permalink
Update code prior to publication.
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallwp committed Sep 29, 2023
1 parent a77ce3f commit fc473a3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ While the prompt is the only _secure_ way to use `bw login` directly, you _can_
> * This one can be really bad as the file is stored unencrypted long-term and `bw login` does not contain any exclusion words.
> * Not an issue when using the `SecretManagement` module or extensions as all public commands include the word "secret" in them and all private commands are run in a isolated session that does not store history.
## Microsoft.PowerShell.SecretManagement Module
As this module is an extension, you need to have the base module installed first. You can install this module from the PowerShell Gallery via the command:
## Module Installation

This module has been published to the PowerShell Gallery. To install it and its PowerShell dependencies from there run:
```pwsh
Install-Module -Name Microsoft.PowerShell.SecretManagement
Install-Module -Name SecretManagement.Warden
```

## Module Installation

This module has not yet been published to the PowerShell Gallery. To install, download the latest [release](https://gitlab.industrialinfo.com/wmarshall/SecretManagement.Warden/-/releases) (Do not clone the repo; code is only signed during the release process). Open the downloaded file, open the only directory therein, and extract the contents of that subdirectory to the directory:
Alternatively, manually install Microsoft.PowerShell.SecretManagement using the command: `Install-Module -Name Microsoft.PowerShell.SecretManagement`.
Next, download the latest [release](https://gitlab.industrialinfo.com/wmarshall/SecretManagement.Warden/-/releases) (Do not clone the repo; code is only signed during the release process). Open the downloaded file, open the only directory therein, and extract the contents of that subdirectory to the directory:

* `$HOME\Documents\PowerShell\Modules\SecretManagement.Warden` (Windows)
* `$HOME/.local/share/powershell/Modules/SecretManagement.Warden` (Linux or Mac)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else {
elseif ( $IsMacOS ) { $platform = "macos" }
else { $platform = "linux" }

Write-Error "No Bitwarden CLI found in your path, either specify `$env:BITWARDEN_CLI_PATH or put bw.exe in your path. If the CLI is not installed, you can install it using scoop, chocolatey, npm, or snap. You can also download it directly from: https://vault.bitwarden.com/download/?app=cli&platform=$platform" -ErrorAction Stop
Write-Error "No Bitwarden CLI found in your path, either specify `$env:BITWARDEN_CLI_PATH or put bw.exe in your path. If the CLI is not installed, you can install it using scoop, chocolatey, npm, snap, or winget. You can also download it directly from: https://vault.bitwarden.com/download/?app=cli&platform=$platform" -ErrorAction Stop
}

if ( $BitwardenCLI -and $CurrentVersion -lt $SupportedVersion ) {
Expand Down
12 changes: 6 additions & 6 deletions SecretManagement.Warden.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '0.2.14'
ModuleVersion = '1.0.0'

# Supported PSEditions
CompatiblePSEditions = @("Core")
Expand All @@ -22,7 +22,7 @@
Copyright = '© 2023 Industrial Info Resources, Inc. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Bitwarden/Vaultwarden extension for the PowerShell SecretManager allowing you to Get, Set, and Remove secrets in a standardized way.'
Description = 'Bitwarden/Vaultwarden extension for the PowerShell SecretManager allowing you to Get, Set, and Remove secrets in a standardized way. Supports storing and retrieving PowerShell Objects as secrets. Targets automated usage.'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '7.0'
Expand Down Expand Up @@ -92,19 +92,19 @@
Tags = 'SecretManagement', 'Secrets', 'BitWarden', 'Vaultwarden', 'MacOS', 'Linux', 'Windows'

# A URL to the license for this module.
LicenseUri = 'https://gitlab.industrialinfo.com/wmarshall/SecretManagement.Warden/blob/master/LICENSE.txt'
LicenseUri = 'https://github.com/BinaryWizard904/SecretManagement.Warden/blob/master/LICENSE.txt'

# A URL to the main website for this project.
ProjectUri = 'https://gitlab.industrialinfo.com/wmarshall/SecretManagement.Warden'
ProjectUri = 'https://github.com/BinaryWizard904/SecretManagement.Warden'

# A URL to an icon representing this module.
IconUri = 'https://gitlab.industrialinfo.com/wmarshall/SecretManagement.Warden/images/warden_extension_logo_85x85.png'
IconUri = 'https://github.com/BinaryWizard904/SecretManagement.Warden/images/warden_extension_logo_85x85.png'

# ReleaseNotes of this module
# ReleaseNotes = ''

# Prerelease string of this module
Prerelease = 'beta'
# Prerelease = ''

# Flag to indicate whether the module requires explicit user acceptance for install/update/save
# RequireLicenseAcceptance = $false
Expand Down

0 comments on commit fc473a3

Please sign in to comment.