chelnak / OneTimeSecret

A PowerShell Module for OneTimeSecret.com
MIT License
10 stars 1 forks source link

Process PS Module

OneTimeSecret

A PowerShell module for OneTimeSecret.com

Install

The OneTimeSecret module is available from the PowerShell Gallery:

Install-Module -Name OneTimeSecret

Usage

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

Contribute

Pull requests, suggestions and bug reports welcome

Contribution guidelines