How to obtain the the Management API ClientID:Secret ?

Not applicable

Hello

We are using Apigee Edge. There is a need to make Management API calls for automating our API proxy deployments.

Ive read that we should use OAuth 2 over Basic Auth for Management API calls and that Basic Auth will be deprecated in the future.

https://docs.apigee.com/api-services/content/using-oauth2-security-apigee-edge-management-api

The example CURL from the docs shows the Basic Auth header as edge clientId: edge secret.

curl -H "Content-Type:application/x-www-form-urlencoded;charset=utf-8"-H "Accept: application/json;charset=utf-8"-H "Authorization: Basic ZWRnZWNsaTplZGdlY2xpc2VjcmV0"-X POST https://login.apigee.com/oauth/token?mfa_token=<6 Digit token> -d 'username=jdoe@example.com&password=abc123&grant_type=password'

I would like to know how we can obtain the edge clientid: secret for our org. Is this a support request or via the management API or other?

Thanks

Solved Solved
1 2 323
1 ACCEPTED SOLUTION

@imranqureshi , Welcome to Apigee Community !

I think it's hard coded pair. Authorization: Basic ZWRnZWNsaTplZGdlY2xpc2VjcmV0 worked for me.

Hope it helps.

View solution in original post

2 REPLIES 2

@imranqureshi , Welcome to Apigee Community !

I think it's hard coded pair. Authorization: Basic ZWRnZWNsaTplZGdlY2xpc2VjcmV0 worked for me.

Hope it helps.

Thanks @Anil Sagar it worked as per your suggestion. I assumed these would be unique to each org. Thanks!