Hi,
I am trying to use google apis to retrieve the analytics data by an apigee proxy for which I am using below Property of HTTPTargetConnection to generate google access token.
https://cloud.google.com/apigee/docs/api-platform/security/google-auth/overview
<Authentication>
<GoogleAccessToken>
<Scopes>
<Scope>https://www.googleapis.com/auth/cloud-platform</Scope>
</Scopes>
</GoogleAccessToken>
</Authentication>
To use this I have to use a service account to deploy the proxy. I can deploy the proxy by UI and enter the service account name and it does the work.
Now I need to automate this step in my CI/CD. I tried to use below tag in shared-pom.xml in env properties. But it did not work.
<apigee.googletoken.email>my-serviceAccount-email</apigee.googletoken.email>
And it is throwing “requires a service account identity, but one was not provided with the request.”
Could you please share the correct config in pom file, so that the service account can be passed in the queryparam, similar to the ‘override’ param?