Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Postman collection and environment for testing/utilizing Secret Server REST API

License

Notifications You must be signed in to change notification settings

thycotic/ps-secretserver-postman

Repository files navigation


This repository is archived. New location of content can be found here.


Secert Server Postman Collections

This repository holds the collection and the environment variable JSON files to import into Postman.

The collection allows you to test the Secret Server APIs from within Postman. This collection will work against both Secret Server (on-premises) and Secret Server Cloud.

postman example view

This repository has been created to share a tool that can expand your understanding of what the Secret Server API offers.

Setup

To setup the Postman collections follow these steps:

  1. Download/register for Postman.
  2. Click File | Import ...
  3. Select Import From Link.
  4. Past the following two URLs and click Import after each.
https://raw.githubusercontent.com/thycotic/ps-secretserver-postman/master/Secert%20Server.postman_environment.json
https://raw.githubusercontent.com/thycotic/ps-secretserver-postman/master/Secret%20Server.postman_collection.json

You should now see the Secret Server collection on the left hand side Collections pane.

  1. Click on the No environment drop down in the top right hand corner of Postman.
  2. Select Secret Server environment
  3. Click the eye icon to the right and then click Edit.
  4. Enter in the current values (do not alter the initial values) for each variable specific to your environment: SecretServerUrl, UserName, UserPassword
  5. Select Update. CLose the Manage Environments dialog.
  6. Expand the folder Start Here, click on the Get Access Token using OAuth2. Click the Send button on right hand side.
  7. Expand the folder active-directory | domains, click on Get Domain. Click the Send button.

Troubleshooting Postman

If you are using this collection against your internal or local Secret Server lab you may see an initial error like this when you try to retrieve an access token:

postman initial error

If you show the Postman console (ATL + CTRL + C or View | Show Postman Console) you will see this message to indicate the SSL certificate for your web service cannot be validated:

postman error

To fix this you need to go into your settings for Postman (CTRL + comma or File | Settings) and toggle off the setting SSL certificate verification.

postman cert verification error

About

Postman collection and environment for testing/utilizing Secret Server REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published