Steps to extract Depot User Credentials
search cancel

Steps to extract Depot User Credentials

book

Article ID: 379320

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

This article provides the steps to extract Depot_User credentials that might be required to address account lockout issues.

Environment

VMware Cloud Foundation 5.x

Resolution

  • Login to SDDC Manager SSH session as VCF user
  • Switch to root user using 'su' command
  • Generate a Token: TOKEN=$(curl -d '{"username": "#####", "password" : "#####"}' -H "Content-Type: application/json" -X POST http://127.0.0.1/v1/tokens | jq -r '.accessToken')
  • Retrieve credentials using the above Token: curl -k -X GET -H "Authorization: Bearer "$TOKEN"" --insecure 'https://localhost/v1/system/credentials?entityType=DEPOT_USER' | json_pp | less