Hi All,
We are planning to automate the API-proxies deployments using apigeetool. We are using the below command as part of the Jenkins job.
apigeetool deployproxy -u abc -o nonprod -e dev -n poc-deploy-automation -p xyz
So, currently am using my personall account to deploy. How can we create a service account for jenkins and use it ?
if we create a user for Jenkins, it would send an email for signup and all etc. How do we avoid that ?
Use management APIs to create the user and provision the org and the role for the user. No emails will be sent in that case. Check these
https://apidocs.apigee.com/management/apis/post/users - to create the User
https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/userroles/%7Brole_name%... - to add the org and map the role to the user
we using apigee edge cloud version, i dont think the above one works for it .
please help.
It works for edge private cloud. You need to use the management server url and port to execute the REST calls.
It may not work on the apigee free org as that's a evaluation account and tied to one useronly.
If you are using edge on public cloud license you can contact the support team to create a service account.
Welcome to Apigee Community !
Similar Question here , https://community.apigee.com/questions/24936/how-to-create-non-human-organization-users-service.html
Hope it helps.