VISE Authentication
This document includes details on how to authenticate your requests with our VISE API
Prerequisite:
Please ensure you have read the VISE Overview before proceeding as the API endpoint is based on your VISE url which is dynamic.
Where vise-url is mentioned, we are referring to your actual VISE domain, not ‘vise-url’. Explained in the VISE overview.
Disclaimer
The Vecurity VISE API endpoint requires multi level authentication in order to gain access to using the endpoints required.
Authentication Flow
Please see a step by step breakdown on how to gain access to your VISE API endpoint.
-
Login to Vecurity Dashboard
-
Visit the ‘My Account’ section and gather your API token from the dashboard.
-
Make use of the Vecurity Domains API to gather your domains, authenticated with the API token from the previous step.
-
Using the Domains endpoint, you will need to gather the following details in order to construct your Vecurity VISE authentication URL for creating the session to your domain.
-
domain_vise_url
- The URL of your VISE endpoint -
domain_vise_phrase
- The key phrase to create a session on VISE.
-
-
Please note that there is an expiry on the session
-
You need to construct your endpoint like so:
https://{domain_vise_url}/auth?pfk={domain_vise_phrase}
-
-
Now that you have your VISE URL, you will need to invoke a request to that endpoint, either utilising the response cookies and taking the
session
cookie in your next requests, or you can make use of creating a requests session. -
Once you have your VISE URL, authenticated by your Session, you also need to make use of your API token once again that you retrieved from the Vecurity Dashboard
Code Example
Here is an example of how it looks in Python Requests.
Specifically what this code is doing is constructing the VISE URL for all domains on your account, creating a session, then sending a request to each endpoint on the VISE API (VISE Domains Endpoint), returning the output of the VISE Domains endpoint for all of your domains.
Once the session is opened, you can perform programmatic requests using the VISE API.
Support
If you need any support with this, feel free to get in touch with our live chat or support@vecurity.net