Skip to main content
Version: 2.7 (Current)

Azure Key Vault

SecTrail CM establishes an agentless connection to Azure Key Vault to enable automatic deployment, synchronization, and management of certificates.

Cloud Certificate Management

SecTrail CM can import certificates from its inventory into Azure Key Vault, discover and monitor existing certificates within the vault, and remove them when needed.

Connection Requirements​

RequirementDetailDescription
ProtocolREST API (HTTPS)Azure Key Vault REST API is used
Endpointhttps://<vault-name>.vault.azure.netKey Vault access address
AuthenticationAzure AD App RegistrationAuthentication with Client ID and Client Secret
PermissionKey Vault certificate management permissionPermission to add, read, list, and delete certificates

Automatic Operations​

SecTrail CM automatically performs the following operations on Azure Key Vault:

  1. Certificate Discovery: Listing existing certificates within the vault
  2. Certificate Import: Adding certificates from the SecTrail inventory to Key Vault
  3. Certificate Remove: Deleting existing certificates from Key Vault
  4. Validation: Certificate validity and chain verification

Configuration Steps​

1. Create an App Registration in Azure​

Create an App Registration in Azure AD so that SecTrail CM can access the Key Vault:

  • Create an application registration via Azure AD β†’ App Registration and generate a Client ID and Client Secret.
  • From Key Vault β†’ Access control (IAM), assign the following roles to this App Registration:
    • Key Vault Certificates Officer: Create, read, list, and update certificates
    • Key Vault Secrets User (required): Since the private key of certificates is stored as a secret in Azure Key Vault, this role is required for import and read operations. The Certificates Officer role alone does not cover the private key.

2. Create an Azure Key Vault User​

Navigate to Automation > Device Users and create a user for Azure Key Vault:

Create Azure Key Vault User

  • Name: Enter a descriptive name for the user
  • Credential Type: Select Standard (Username/Password)
  • Username: Enter the Client ID value of the App Registration
  • Password: Enter the Client Secret value of the App Registration

Click the Submit button to save the user.

3. Add the Azure Key Vault Device to SecTrail CM​

Click the Automation > Devices > Add New Device button and enter the following information:

Add Azure Key Vault Device

  • Name: Enter a descriptive name for the device (e.g. azure)
  • Device Users: Select the user you created in Step 2
  • IP: Enter the Key Vault access address (e.g. sectrailvault.vault.azure.net)
  • Device Type: Select Azure Key Vault from the dropdown menu
  • Execution Server: The server used to run deployment operations (e.g. default)

Click the Submit button to save the device.

Automatic Discovery and Monitoring

After the Azure Key Vault device is added to SecTrail CM, the certificates within the vault are automatically included in the discovery period and scanned regularly. Automatic alarms are generated for certificates that are about to expire or have issues.

4. View Device Information​

After the device is added, it will be displayed in the Automation > Devices list. Click the row to view the device details:

Azure Key Vault Device Details and Certificate List

The device details display the following information:

  • Certificate Subject: Certificate subject information
  • Issuer: Information about the CA that issued the certificate
  • Certificate Name: The name of the certificate within Key Vault
  • DNS Names: DNS names defined in the certificate
  • Not After: The certificate's expiration date

Certificate Deployment (Import)​

Step 1: Certificate Selection​

  1. Select your Azure Key Vault device from the Automation > Devices section
  2. Click the Add button in the device details
  3. Select the certificate you want to add in the dialog that opens

Step 2: Start the Deployment​

Click the Submit button to start the certificate deployment.

Step 3: Process Tracking​

The deployment can be tracked from the Automation > Processes section:

Azure Key Vault Import Process

Process Details​

The following steps are performed during deployment:

StepOperation Description
1Azure authentication is performed (Azure authentication successful)
2The certificate is successfully uploaded to Azure Key Vault (Certificate imported successfully to Azure Key Vault)

Certificate Removal (Remove)​

SecTrail CM supports removing certificates from Azure Key Vault.

Remove Azure Key Vault Certificate

Removal Steps​

  1. Select your Azure Key Vault device from the Automation > Devices section
  2. Click the Remove button on the row of the certificate you want to delete
  3. Confirm to start the removal

Removal Task Details​

The removal can be tracked from the Automation > Processes section. The following steps are performed during the operation:

StepOperation Description
1Azure authentication is performed (Azure authentication successful)
2The specified certificate is deleted from Azure Key Vault (Certificate deleted successfully from Azure Key Vault)