brianary/scripts

✨ Add Save-Secret.ps1 script to save or update a secret and metadata parameters

Closed this issue · 0 comments

The script should support common secret metadata, as well as a parameter to copy the secret from the clipboard.

Fields

  • Name (as used to store the secret)
  • Title
  • Description
  • Note
  • Url
  • Created (defaults to current date/time)
  • Expires

Secret value params

  • Value securestring
  • PasteString
  • PasteSecureString
  • PastePassword username
  • PasteTextBytes encoding
  • PasteHexBytes
  • PasteBytes