VMware Networking Community
nsousaarlington
Enthusiast
Enthusiast

Edit NSX-T Compute Manager Credentials

I don't see an option to change the credentials for an already added compute manager.

Reply
0 Kudos
2 Replies
daphnissov
Immortal
Immortal

There's not one in the UI, you'd have to delete and re-create the compute manager.

Reply
0 Kudos
mauricioamorim
VMware Employee
VMware Employee

Or you can use the API:

Update compute manager

Updates a specified compute manager
Request:

Method:

PUT

URI Path:

/api/v1/fabric/compute-managers/<compute-manager-id>

Request Headers:

n/a

Query Parameters:

n/a

Request Body:

ComputeManager+

Example Request:PUT https://<nsx-mgr>/api/v1/fabric/compute-managers/cf1f01db-e5b3-4688-9c1e-5f47d335fb01

{

"id": "cf1f01db-e5b3-4688-9c1e-5f47d335fb01",

"server": "10.112.3.45",

"origin_type": "vCenter",

"credential" : {

     "credential_type" : "UsernamePasswordLoginCredential",

     "username": "user2",

     "password": "somepassword",

     "thumbprint": "3A:21:22:A6:72:28:DA:EC:9D:05:AF:0B:B5:C6:44:CC:52:8D:54:AC"

  },

"_revision": 0

}

Reply
0 Kudos