• Engineering
  • Product
  • For Brands
  • What’s New
  • Music
  • Life at Anghami
No Result
View All Result
  • Engineering
  • Product
  • For Brands
  • What’s New
  • Music
  • Life at Anghami
No Result
View All Result
Anghami
No Result
View All Result

Streamlining User Permissions with GitOps

Awedis Keofteian by Awedis Keofteian
June 4, 2024
in Engineering
Share on FacebookShare on Twitter

When your infrastructure grows, and there are many employees from different teams needing access to specific database permissions, it becomes a bit challenging to ensure that this process is being done smoothly and that everyone is getting the permissions they need on time.

At Anghami, we have many databases, and since the number of staff is growing, it’s a bit challenging to keep track of all the users’ permissions and make sure everyone has the right ones.

From our infrastructure perspective, we use AWS Cloud, and for databases, we use RDS.

And since GitOps is our go-to approach for any DevOps requirement, we need to create the database permissions process as smooth as possible.

To tackle this, we use AWS IAM database authentication internally, which helps us easily grant IAM users the database permissions they need. To combine our GitOps approach, we use Terraform to authorize our users to access all our databases without using any passwords. Everything is based on their AWS token and the permissions we grant them.

For example, let’s say a user wants to have READ and UPDATE access to a single database inside RDS, and to a specific table. We provide a YAML file inside Terraform, which we then convert to the required permissions, using several modules and infrastructure as code best practices.

Here is a flow diagram to understand better how the process is being done.

Benefits

Here are some of the benefits of implementing this approach for user database authorization:

  • Helps you have a clear vision of all user permissions.
  • Developers can open PRs (GitOps) for the permissions they need, and the admin can easily accept or reject them.
  • Users can have more specific access to a certain database and table.
  • You can easily implement the same permissions to any database by applying just one YAML file.
  • Users don’t need to save any passwords or manage credentials.

Finally, combining GitOps approaches with IAM database authentication helped us to make the permissions process faster, smoother, and more transparent between the teams, thus improving our daily DevOps tasks.

Tags: AWSDevOpsEngineering
Awedis Keofteian

Awedis Keofteian

Anghami, DevOps Engineer

Related Posts

+OSN تتعاون مع شركة castLabs لتعزيز حماية المحتوى على منصتها الرقمية
Engineering

+OSN تتعاون مع شركة castLabs لتعزيز حماية المحتوى على منصتها الرقمية

أعلنت castLabs، الشركة الرائدة في تكنولوجيا الفيديو الرقمي، عن تعاونها مع +OSN لتقديم تقنية "دي آر إم توداي" لحماية...

by Nour Sawli
September 11, 2024
OSN+ Partners with castLabs to Enhance Content Protection with Cutting-edge Multi-DRM Technology, DRMtoday
Engineering

OSN+ Partners with castLabs to Enhance Content Protection with Cutting-edge Multi-DRM Technology, DRMtoday

OSN+ has partnered with castLabs to implement DRMtoday, a cloud-based digital rights management (DRM) solution aiming to safeguard it's...

by Nour Sawli
September 11, 2024
Anghami Selects Bitmovin’s VOD Encoder to Power New Multimedia Streaming Platform
Engineering

Anghami Selects Bitmovin’s VOD Encoder to Power New Multimedia Streaming Platform

Following its merger with OSN+, Anghami has chosen Bitmovin’s VOD Encoding to encode over 40,000 video files, bringing the...

by Nour Sawli
July 16, 2024
أنغامي تتعاون مع بيتموفين لتعزيز منصة بث الوسائط المتعددة الجديدة
Engineering

أنغامي تتعاون مع بيتموفين لتعزيز منصة بث الوسائط المتعددة الجديدة

بعد اندماجها مع+OSN ، اختارت أنغامي مشفر الفيديو حسب الطلب (VOD) من بيتموفين لترميز أكثر من 40,000 ملف فيديو...

by Nour Sawli
July 16, 2024
Next Post
+OSN تطلق باقة متميزة بمحتوى بدقة K UHD4 وتقنية الصوت المحيطي Dolby Atmos

+OSN تطلق باقة متميزة بمحتوى بدقة K UHD4 وتقنية الصوت المحيطي Dolby Atmos

  • Anghami Files 2023 Annual Report and Announces 2024 Q1 Results, Highlighting 18% Growth in Subscribers and Significant Margin Improvement

    Anghami Files 2023 Annual Report and Announces 2024 Q1 Results, Highlighting 18% Growth in Subscribers and Significant Margin Improvement

    0 shares
    Share 0 Tweet 0
  • EA SPORTS™ AND ANGHAMI ANNOUNCE FIFA 23 GLOBAL IN GAME VANITY DROP

    0 shares
    Share 0 Tweet 0
  • Anghami and OSN+ Successfully Complete Milestone Transaction, Creating an Entertainment Powerhouse

    0 shares
    Share 0 Tweet 0
  • Hidden Anghami Features

    0 shares
    Share 0 Tweet 0
  • Anghami contributes to the first-ever IFPI MENA chart

    0 shares
    Share 0 Tweet 0

About Anghami . Join Our Team . Go To app

© 2021 Anghami

No Result
View All Result
  • Homepage
  • Engineering
  • Product
  • What’s New
  • For Brands
  • Music
  • Life at Anghami

© 2020 Anghami blog