Delete credentials in Aria Operations
search cancel

Delete credentials in Aria Operations

book

Article ID: 388704

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

The purpose of the article is about how to delete credentials in Aria Operations with Aria Operations API.  This can be useful when unlicensed MP's are preventing credentials from being deleted.

Environment

VMware Aria Operations

Cause

Adapter Instance credentials are not editable due to licensing.

Resolution

  1. Access Aria Operations API address 'https://<Aria-Ops-FQDN>/suite-api'.
  2. Click 'Authorize' and input administrator username and password then click 'Authorize' again
  3. Click 'Close' to close the window of 'Available authorizations'.
  4. Scroll down the page and expand 'Credentials'.
  5. Click API 'GET /api/credentials' and click 'Try it out' and click 'Execute'.
  6. Scroll down to locate the 'Response boy' and get the credentials ID which will be deleted based on username.

    The sample credentials shows the ID with the username

        {
          "id": "########-####-####-####-############",
          "name": "<username>",
          "adapterKindKey": "CASAdapter",
          "credentialKindKey": "CMPCREDENTIALS",
          "fields": [
            {
              "name": "USERNAME",
              "value": "<username>"
            },
            {
              "name": "PASSWORD"
            }
          ],
          "editable": true
        },

  7. Click API 'DELETE /api​/credentials​/{id}' to expand and click 'Try it out'.
  8. Copy the ID in Step 6 into the id box under Parameters.
  9. Click 'Execute'.
  10. If the response returns a Code 204 means the credential has been deleted.