VCF Operations UI elements that load from SDDC Manager inventory are not loading. In the VCF Operations UI and in the SDDC Manager /var/log/vmware/vcf/sddc-manager-ui-app/sddcManagerServer.log have an error log similar to:
DATE-T-TIME - ERROR SDDC-MANAGER-UI-APP 2910 - [services/wrappers/requestPromiseWrapper.js, http-post-logs, logAxiosError:58] axios.error.response.data {"data":{"arguments":[],"causes":[{"type":"java.lang.NullPointerException"}],"errorCode":"IDENTITY_KEY_FETCH_FAILED","message":"Failed to fetch signing key","referenceToken":"#####"}}
This document provides an explicit, example-driven workflow to manually construct and inject VCF Operations (formerly Aria Operations) JWT signing keys into the SDDC Manager commonsvcs token registry. This workflow resolves NullPointerException errors caused by missing or empty token_signing_key.json files.
VCF 9.1
VCF Operations 9.1
During or after upgrade process to VCF 9.1 we can no longer access SDDC Manager UI elements through VCF Operations UI. Fetching for the token signing keys doesn't show a valid key from VCF Operations.
Validate the contents of the following file on SDDC Manager:
cat /etc/vmware/vcf/commonsvcs/token_signing_key.json
PREREQUISITES
• Administrator credentials to the SDDC Manager API.
• Reachability to the VCF Operations cluster FQDN or IP.
• Root SSH access to the SDDC Manager appliance.
PROCEDURE
Step 1: Obtain SDDC Manager API Access Token
Generate a Bearer token using the SDDC Manager API. This token must have administrative privileges (TOKEN_SIGNING_KEY_WRITE and TOKEN_SIGNING_KEY_READ).
Input Payload Example:
{ "username": "[email protected]", "password": "<REDACTED_SECRETS>"}
Output Response Example:
{ "accessToken": "<REDACTED_SECRETS>", "refreshToken": { "id": "<REDACTED_SECRETS>" }}
Action: Save the accessToken to an environment variable.
TOKEN="<REDACTED_OUTPUT_OF_API>"
Step 2: Retrieve VCF Operations Issuer ID
Query the Operations .well-known configuration to capture the active issuer identity.
Command:
curl -k -X GET https://<REDACTED_IPS>/suite-api/.well-known/openid-configuration
Expected Output:
{ "issuer": "vcf_ops-<REDACTED_SECRETS>", "jwks_uri": "https://<REDACTED_IPS>/suite-api/jwks"}
Step 3: Retrieve VCF Operations JWKS (JSON Web Key Set); Query the provided jwks_uri to extract the Operations public cryptographic keys.
Command:
curl -k -X GET https://<REDACTED_IPS>/suite-api/jwks
Expected Output:
{ "keys": [ { "kty": "RSA", "e": "AQAB", "kid": "<REDACTED_SECRETS>", "n": "<REDACTED_SECRETS>" } ]}
Step 4: Construct the Registration Payload
Create a local file named payload.json on the SDDC Manager filesystem. Combine the issuer from Step 2 and the keys array from Step 3.
File Content (payload.json):
{ "issuer": "vcf_ops-<REDACTED_SECRETS>", "keys": [ { "kty": "RSA", "e": "AQAB", "kid": "<REDACTED_SECRETS>", "n": "<REDACTED_SECRETS>" } ]}
Step 5: Inject Signing Key into SDDC Manager
Push the constructed payload to the hidden SDDC Manager commonsvcs endpoint.
Command:
curl --location --request POST 'https://localhost/v1/tokens/signing-keys' \--header 'Content-Type: application/json' \--header "Authorization: Bearer $TOKEN" \--data @payload.json
Note: A successful transaction will return a 200 HTTP status code with an empty response body.
Step 6: Verify Key Registration
Validate that the keys have been successfully written to the local filesystem and are retrievable via the API.
Action 1: API Validation
curl -X GET -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' https://localhost/v1/tokens/signing-keys -k
Expected Result: The output must return the populated JSON array matching payload.json, not an empty dictionary [{}].
Action 2: Filesystem Validation
cat /etc/vmware/vcf/commonsvcs/token_signing_key.json
Expected Result: The physical file must exist and contain the registered issuer and RSA key details.