This repository is archived. New location of content can be found here.
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.
This repository has been created to share a tool that can expand your understanding of what the Secret Server API offers.
To setup the Postman collections follow these steps:
- Download/register for Postman.
- Click File | Import ...
- Select Import From Link.
- 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.
- Click on the No environment drop down in the top right hand corner of Postman.
- Select Secret Server environment
- Click the eye icon to the right and then click Edit.
- Enter in the current values (do not alter the initial values) for each variable specific to your environment: SecretServerUrl, UserName, UserPassword
- Select Update. CLose the Manage Environments dialog.
- Expand the folder Start Here, click on the Get Access Token using OAuth2. Click the Send button on right hand side.
- Expand the folder active-directory | domains, click on Get Domain. Click the Send button.
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:
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:
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.