Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neil-sabol/3ceab9221500261bbda76e0893b8734e to your computer and use it in GitHub Desktop.
Save neil-sabol/3ceab9221500261bbda76e0893b8734e to your computer and use it in GitHub Desktop.
See https://blog.neilsabol.site/post/onetimesecret-api-powershell-cli-basic-example-one-time-secret/ . This snippet uses Invoke-RestMethod and the OneTimeSecret API to generate a random password then output the password and secret link to retrieve it.
@sergeevabc
Copy link

I see, Neil, thank you for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment