GET A2ARegistrations/{id}/RetrievableAccounts requires a Bearer Token in 7.0.1 and 7.1.x
说明
After upgrading from 7.0 LTS to 7.0.1 or 7.1.x, the API call for GET /service/core/v4/A2ARegistrations/{id}/RetrievableAccounts started requiring a bearer token to show the API keys for accounts registered in A2A.
In SPP 7.0 LTS, users were able to use certificate authentication only to get a list of retrievable accounts and API keys without needing to provide a bearer token.
解决办法
STATUS: Change Request # 404697 will address this issue in SPP version 7.2 having that it passes QA testing and approvals. Change Request # 404698 will address this issue in SPP version 7.0.2 having that it passes QA testing and approvals.
Note: The changes above will revert back to the original behavior used in SPP 7.0 LTS where a bearer token is NOT required additionally to retrieve the API Keys via A2A.
WORKAROUND: You can still retrieve the API keys in SPP version 7.0.1 & 7.1 by passing in the bearer token in addition to the certificate authentication, this however, requires the modification of your scripts to get the bearer token and include it in the API call.