A PowerShell module for OneTimeSecret.com
The OneTimeSecret module is available from the PowerShell Gallery:
Install-Module -Name OneTimeSecret
Before using any of the commands you will need to run Set-OTSAuthorizationToken to create the authorization header needed for requests
Set-OTSAuthorizationToken -Username user@mail.com -APIKey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It is also possible to use this module against a private instance of one time secret.
Set-OTSAuthorizationToken -Username user@mail.com -APIKey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -BaseUrl https://mycustomhost.com/
You can view your authorization token at any time with the following command:
Get-OTSAuthorizationToken
View documentation on here
Pull requests, suggestions and bug reports welcome