npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@mr.xcray/thycotic-secretserver-client

v2.1.2

Published

Thycotic Secret Server NodeJS client for WebAPI

Downloads

16

Readme

Build Status GitHub issues GitHub license

npm i @mr.xcray/thycotic-secretserver-client

SecretServer-nodejs

JS/NodeJS client for Thycotic Secret Server

Thycotic Secret Server

Website: https://thycotic.com/products/secret-server/
На русском: https://thycotic.ru/

On-premise TSS: v10.3.000015
Online version: supported
LDAP Authentication: supported
FREE version: not suppored (no WebAPI is available)

    let TSSClient = require('@mr.xcray/thycotic-secretserver-client');
      
    let client = new TSSClient(
      "domain/SecretServer", 
      "login", 
      "password"
    );
      
    client.GetSecret(254).then(result => {
      console.log(result);
    });

Implemented

  • Authenticate (as part of class constructor logic)
  • DownloadFileAttachment - gets filename and contents by ID, used to download attached SSH keys and documents
  • DownloadFileAttachmentByItemId - similar to the DownloadFileAttachment web service, but is meant to be used when a Secret has multiple file attachment fields. By setting the third parameter value, the user can choose which file to download.
  • FolderGet - gets a specific folder by Id
  • FolderGetAllChildren - returns all child folders for a particular folder
  • GetFavorites - method is used to get all of the favorites Secrets for the current user
  • GetSecret - gets secret by ID with all fields as an associative array (name=>[properties])
  • GetSecretsByExposedFieldValue - Searches for Secrets that match a field name / search term but only on Secret Fields marked Exposed for Display on the Secret Template
  • GetSecretsByFieldValue - Searches for Secrets that match a field name / search term. This will return all Secrets that contain a field with the specified name and have a value in that field that contains the search term
  • GetSecretItemHistoryByFieldName - Use this method to retrieve the history (past values) that were audited for a specific field of a Secret
  • SearchFolders - gets list of all folders with keyword in names
  • SearchSecrets - gets list of all secrets summaries (shortened secret profiles) with keyword in names
  • SearchSecretsByExposedFieldValue - searches for Secrets that match a field name / search term but only on Secret Fields marked Exposed for Display on the Secret Template
  • SearchSecretsByExposedValues - Searches for Secrets across fields with a search term but only on Secret Fields marked Exposed for Display on the Secret Template
  • SearchSecretsByFieldValue - Searches for Secrets that match a field name / search term
  • SearchSecretsByFolder - Web method that searches for Secrets within a folder

Bonus methods

sweet extension to official TSS WebAPI

  • SearchSecrets_intersect - secrets with all keywords in names
  • SearchSecrets_union - secrets with any of keywords in names
  • SecretSummaryToSecret - converts one or array of secrets summaries to one or array of secret profiles with all properties

Will be implemented

AddDependency
AddGroupToActiveDirectorySynchronization
AddNewSecret
AddScript
AddSecret
AddSecretCustomAudit
AddSecretPolicy
AddUser
ApproveSecretAccessRequest
AssignSecretPolicyForSecret
AssignSite
AssignUserToGroup
AuthenticateRADIUS
ChangePassword
CheckIn
CheckInByKey
CreateDependencyGroupForSecret
DeactivateSecret
DeleteSSHCommandMenu
DenySecretAccessRequest
ExpireSecret
FolderCreate
FolderExtendedCreate
FolderExtendedGet
FolderExtendedGetNew
FolderExtendedUpdate
FolderUpdate
GeneratePassword
GetAllGroups
GetAllScripts
GetAllSSHCommandMenus
GetCheckOutStatus
GetDependencies
GetDependencyGroupsForSecret
GetDistributedEngines
GetNewSecret
GetNewSecretPolicy
GetReport
GetScript
GetSecretAudit
GetSecretPolicyForSecret
GetSecretTemplateFields
GetSecretTemplates
GetSSHCommandMenu
GetSSHLoginCredentials
GetSSHLoginCredentialsWithMachine
GetTicketSystems
GetTokenIsValid
GetUser
ImpersonateUser
ImportXML
RemoveDependency
RemoveDependencyGroupForSecret
RestoreSSHCommandMenu
RunActiveDirectorySynchronization
SaveSSHCommandMenu
SearchSecretPolicies
SearchUsers
SetCheckOutEnabled
UpdateDependencyGroupForSecret
UpdateIsFavorite
UpdateScript
UpdateSecret
UpdateSecretPermission
UpdateUser
UploadFileAttachment
UploadFileAttachmentByItemId
VersionGet
WhoAmI