Disable Basic Authentication for API in vROps 6.7 - 8.0.x
search cancel

Disable Basic Authentication for API in vROps 6.7 - 8.0.x

book

Article ID: 320061

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article details how to disable Basic Authentication for API in vRealize Operations Manager 6.7 - 8.0.x.

Environment

VMware vRealize Operations Manager 7.0.x
VMware vRealize Operations 8.0.x
VMware vRealize Operations Manager 6.7.x
VMware vRealize Operations Manager 7.5.x

Resolution

Disable Basic Authentication for API in vRealize Operations Manager 6.7 - 8.0.x

To disable Basic Authentication for API in vRealize Operations Manager 6.7 - 8.0.x, complete the steps below.
  1. Log into the vRealize Operations Manager Primary node as root via SSH or Console
  2. Open /usr/lib/vmware-vcops/user/conf/api-conf.properties in a text editor.
  3. Change the basicAuthentication.enabled property value to false.
ExamplebasicAuthentication.enabled=false
  1. Save and close the file.
  2. Restart the REST API service:

vRealize Operations Manager 6.7 - 7.5

service vmware-vcops restart api
 

vRealize Operations Manager 8.0.x

service api restart
  1. Repeat steps 1-5 on all other nodes in the vRealize Operations Manager cluster.

If you would like to re-enable Basic Authentication for API, follow the steps in the Related Information section.

Additional Information

To enable Basic Authentications for API in vRealize Operations Manager 8.1, see Enable Basic Authentication for API in vRealize Operations Manager 8.1 and later.
 

 Re-Enable Basic Authentication for API in vRealize Operations Manager 6.7 - 8.0.x

To re-enable Basic Authentication for API in vRealize Operations Manager 6.7 - 8.0.x, complete the steps below.
  1. Log into the vRealize Operations Manager Primary node as root via SSH or Console
  2. Open /usr/lib/vmware-vcops/user/conf/api-conf.properties in a text editor.
  3. Change the basicAuthentication.enabled property value to true.
ExamplebasicAuthentication.enabled=ture
  1. Save and close the file.
  2. Restart the REST API service:

vRealize Operations Manager 6.7 - 7.5

service vmware-vcops restart api
 

vRealize Operations Manager 8.0.x

service api restart
  1. Repeat steps 1-5 on all other nodes in the vRealize Operations Manager cluster.


Impact/Risks:
By default, vRealize Operations Manager allows Basic Authentication for API in vRealize Operations Manager 6.7 - 8.0.x.
For security purposes, it's best to disabled Basic Authentication.