Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

API access via service account without MFA

Part of our flow is to have customer support view (and later update) KVM collected in Apigee, but done so outside the Apigee UI.  Below is an example endpoint we need to have accessed:

GET https://api.enterprise.apigee.com/v1/organizations/"organization"/environments/prod/keyvaluemaps/"kv...

Documentation showed generating an OAuth bearer token was required to access this endpoint.
Bearer token generation requires username, password, mfa (since we have 2nd factor enabled).

Question: Do we have a way to instead access these endpoints with a service account and not need a mfa to generate the authentication?  I attempted to create a service account keyfile via our GCP but that method seemed to only give google api access and not apigee access.  Is this possible in apigee edge?  Is this possible in apigee X?  Is there a link/documentation for this so I can recreate the flow?Similar to the KVM access, we also need to be able to access the metrics api and would like to do that via service account too.  Example request:
https://api.enterprise.apigee.com/v1/organizations/"organization"/environments/prod/stats/kareocusto...

Same questions - do we have a way to do this via service account instead of requiring mfa to generate a bearer token?

0 1 470
1 REPLY 1