API / APIGEE Gateway Interview Questions
What is RBAC (Role-Based Access Control) in Apigee and what are the built-in roles?
Apigee integrates with Google Cloud IAM for access control. Every Apigee operation is controlled by IAM roles assigned to users or service accounts at the Google Cloud project or organisation level.
| Role | Permissions | Typical user |
|---|---|---|
| roles/apigee.admin | Full control: create, update, delete all Apigee resources | Platform administrator |
| roles/apigee.apiCreator | Create and manage API proxies, shared flows, API products | API developer |
| roles/apigee.deployer | Deploy and undeploy proxies to environments | CI/CD service account |
| roles/apigee.analyticsViewer | View analytics data only | Business analyst, product manager |
| roles/apigee.environmentAdmin | Manage environments, target servers, KVMs, caches | Environment admin |
| roles/apigee.readOnlyAdmin | View all resources but cannot create or modify | Auditor, read-only reviewer |
# Grant a service account the deployer role (for CI/CD): gcloud projects add-iam-policy-binding my-project \ --member="serviceAccount:cicd-sa@my-project.iam.gserviceaccount.com" \ --role="roles/apigee.deployer" # Grant a developer the API creator role: gcloud projects add-iam-policy-binding my-project \ --member="user:dev@example.com" \ --role="roles/apigee.apiCreator" # Principle of least privilege: # CI/CD pipelines should use roles/apigee.deployer only # (deploy but not delete or modify proxy logic) # Application developers: roles/apigee.apiCreator # Business analysts: roles/apigee.analyticsViewer # Service account authentication for CI/CD: gcloud auth activate-service-account \ --key-file=cicd-sa-key.json TOKEN=$(gcloud auth print-access-token) apigeecli apis deploy --token $TOKEN ...
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
