Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.07 KB

README.org

File metadata and controls

37 lines (32 loc) · 1.07 KB

thycoss

Bash script for operating on Thycotic Secret Server using the REST API. Use this for building scripts around the Thycotic Secret Server API.

Uses pass for looking up passwords. Configurable with multiple profiles stored in ${XDG_CONFIG_HOME}/thycoss/.

For reasons unknown the good people from Thycotic have put their REST API documentation behind a login. If you have access to an instance of Secret Server you can find the API documentation at the path /SecretServer/Documents/restapi/TokenAuth/.

sspass

sspass is a pass-like script to fetch passwords from Secret Server, copy them to clipboard and automatically remove them after 45 seconds.

Usage

$ sspass 2377
Copied password to clipboard; clearing in 45 seconds...Logging out...

Example

$ THYCOSS_PROFILE=corp ./examples/get_version.sh
{
  "model": {
    "version": "10.7.000000"
  },
  "exceptions": [],
  "messageText": null,
  "friendlyMessageText": null,
  "success": true,
  "severity": "None",
  "errors": []
}