Status: 404, Not Found"Developer Center -> API Explorer -> Credentials -> POST /vi/credentials/expirations{
"credentialIds": [ "" ],
"domainName": "",
"resourceType": "VCENTER"
}
YYYY-MM-DDTHH:MMM:SS WARN [vcf_om,<>,####] [c.v.v.f.i.FeatureInterceptor,http-nio-127.0.0.1-7300-exec-7] Feature feature.vcf.passwordmanagement.notification.expiry is disabledYYYY-MM-DDTHH:MMM:SS WARN [vcf_om,<>,####] [c.v.v.f.i.FeatureInterceptor,http-nio-127.0.0.1-7300-exec-6] Feature feature.vcf.passwordmanagement.notification.expiry is disabled
SDDC Manager proactively monitors the Time-to-Live (TTL) of system account passwords. The core of the issue lies in the configuration of the VMware Cloud Foundation (VCF) feature flags.
The parameter "feature.vcf.passwordmanagement.notification.expiry" controlling password expiry notifications has been altered from its default state.
Proceed to remove the non-default paramter on SDDC Manager
su rootfeature.vcf.passwordmanagement.notification.expiry"grep "feature.vcf.passwordmanagement.notification.expiry" /home/vcf/feature.properties /etc/vmware/vcf/operationsmanager/application.propertiessystemctl restart operationsmanager
To validate the credential expiration using API command
TOKEN=$(curl -s -k -d '{"username":"<SSO Username@Domain>","password":"<SSO_Password"}' -H "Content-Type: application/json" -X POST https://<SDDC Manager FQDN>/v1/tokens | jq -r '.accessToken')curl -X POST https://<SDDC Manager FQDN>/v1/credentials/expirations -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"resourceType": "VCENTER"}' -ikSample Output:
HTTP/1.1 404Server: nginxDate: Day, DD Jan YYYY HH:MM:SS <timezone>Content-Length: 0Connection: keep-aliveX-Content-Type-Options: nosniffX-XSS-Protection: 0Cache-Control: no-cache, no-store, max-age=0, must-revalidatePragma: no-cacheExpires: 0X-Frame-Options: DENY