Skip to content

Commit 46d6120

Browse files
committed
πŸ“ Add demo image
Resolves #2
1 parent 3155625 commit 46d6120

4 files changed

Lines changed: 14 additions & 4 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
Secret storage manipulation utilities.
1313

14+
**Requirements:** Modules Microsoft.PowerShell.SecretManagement and Microsoft.PowerShell.SecretStore.
15+
1416
<img src="images/demo.gif" alt="a demonstration of the module commands" height="300" width="600" />
1517

1618
- [Export-SecretVault](https://github.com/brianary/Secrecy/wiki/Export-SecretVault): Exports secret vault content.
1719
- [Get-SecretDetails](https://github.com/brianary/Secrecy/wiki/Get-SecretDetails): Returns secret info from the secret vaults, including metadata as properties.
1820
- [Import-SecretVault](https://github.com/brianary/Secrecy/wiki/Import-SecretVault): Imports secrets into secret vaults.
19-
- [Set-SecretDetails](https://github.com/brianary/Secrecy/wiki/Set-SecretDetails): Sets a secret in a secret vault with metadata.
21+
- [Set-SecretDetails](https://github.com/brianary/Secrecy/wiki/Set-SecretDetails): Sets a secret in a secret vault with metadata.

β€Žimages/demo.gifβ€Ž

156 KB
Loading

β€Žimages/demo.tapeβ€Ž

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ Hide
44
Set Shell pwsh
55
Type "Import-Module ../src/.publish/Secrecy.psd1"
66
Enter
7+
Type "; $apikey = 'β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ' |ConvertTo-SecureString -AsPlainText"
8+
Enter
79
Type "Clear-Host"
810
Enter
911
Show
10-
Type "Save-Secret -Name ApiKey -Secret $apikey -Url https://example.net/apikey"
12+
Type "Set-SecretDetails -Name ApiKey -Secret $apikey -Title 'Example API key' -Uri https://example.net/apikey -Expires 2038-03-15"
13+
Enter
14+
Sleep 1s
15+
Type "Get-SecretDetails ApiKey"
16+
Enter
17+
Sleep 3s
18+
Type "Export-SecretVault -Confirm:$false |ConvertTo-Json"
1119
Enter
12-
Sleep 9s
20+
Sleep 5s

β€Žsrc/public/Set-SecretDetails.ps1β€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Sets a secret in a secret vault with metadata.
66
Credential
77
88
.EXAMPLE
9-
Save-Secret GitHubToken -Paste securestring -Title 'PowerShell token' -Description 'A GitHub classic token' -Url https://github.com/settings/tokens -Expires (Get-Date).AddDays(90)
9+
Set-SecretDetails GitHubToken -Paste securestring -Title 'PowerShell token' -Description 'A GitHub classic token' -Url https://github.com/settings/tokens -Expires (Get-Date).AddDays(90)
1010
1111
Stores the token from the clipboard.
1212
#>

0 commit comments

Comments
Β (0)