انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-054-L06

عرض عملي: تدوير كلمة مرور قاعدة البيانات دون توقف

  • الدرس 6 من 6
  • Mid-level
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

rotate the orders database credential while traffic runs. Prepares MID-054-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. Show the current setup: the password is stored in the secrets manager and read by orders via workload identity.
  2. Create a second database user (or a second password) so two credentials are valid at once.
  3. Update the secret; let orders pick up the new value and rebuild its connection pool.
  4. Planned mistake: change the database password first, before the app has the new one; connections fail. Fix: add the new credential, switch the app, then revoke the old one.
  5. Confirm no failed requests in the dashboard and run a scan showing no secret in the image, manifests, or Git.

اختبر فهمك

What is the safe order of a rotation?

أظهر الإجابة

Add new credential, switch the app, revoke the old.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.