Overview
This article provides step-by-step instructions for generating an API key from your on-premises Saner CVEM (Ancor) application server. The API key is essential for authenticating API requests to the Saner CVEM platform, enabling secure integration with other systems or automation workflows.
Prerequisites
Before you begin, ensure you have the following:
Access to the Saner CVEM application server
Administrator credentials for the Saner CVEM platform
Steps to Generate the API Key
Step 1: Log in to the Saner CVEM Server
Connect to the Saner CVEM (Ancor) application server using your preferred method, such as:
SSH: For remote access
Direct console access: For local server access
Step 2: Open a Terminal Session
Launch a terminal session on the server and switch to the root user:
sudo suStep 3: Access the Ancor CLI
Enter the Ancor Command-Line Interface (CLI) using the following command:
ancor-cli
Step 4: Navigate to Account Management
Enter the account management module:
accountmgmtRetrieve the subscription key by executing:
getsubscriptionkey -u <admin-login>Replace <admin-login> with your Saner CVEM administrator login ID.Step 5: Retrieve the API Key
After running the above command, the system generates an API key and saves it in a ZIP file located at:
/usr/local/scaprepo/Step 6: Extract the ZIP File
Navigate to the directory and extract the ZIP file to access your API key:
cd /usr/local/scaprepo/
unzip <zip-file-name>Authentication Tip
When making authenticated API calls:
Use your Saner CVEM admin login ID as the username
Use the retrieved API key as the password
This ensures secure access when interacting with the Saner CVEM APIs.
Need Assistance?
If you encounter any issues during the API key generation process or require help integrating the API with your systems, please contact our support team. We are happy to assist you and ensure smooth integration.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article
