Apigee Extensions deployment using apigee-config-maven-plugin

We wanted to create extensions by using apigee-config-maven-plugin on Apigee Edge but it is giving error saying Extensions are not supported with basic auth. Please use auth
Maven is require auth for creating extensions but we want to create extensions by using username and password.
How we can achieve the same by maven plugin.

0 1 186
1 REPLY 1

You can just set oauth as the authtype in your profile:

<apigee.authtype>oauth</apigee.authtype>

Maven with then use your username and password to get a token.