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

هوية الخدمة إلى الخدمة

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

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

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

في هذا الدرس

identify calling services safely.

الموضوعات المخطط لها

  • Client credentials: orders has its own client id and secret (stored in a secrets manager) and gets a token for inventory.
  • Token exchange: swap the user's token for a narrower token for the next service, keeping the user as subject.
  • Choose: acting as the service (background, system tasks) versus acting for the user (user-specific data).
  • One all-powerful service account is a common mistake; give each service only the scopes it needs.
  • mTLS can add transport identity; it complements, not replaces, token checks.
تفاصيل المخطط المبدئي

عرض عملي

diagram: user → gateway → orders → (exchange) → inventory, with token subject and audience at each hop.

اختبر فهمك

Why not one shared service account?

أظهر الإجابة

One leak exposes everything and nothing is traceable.

التطبيق

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

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

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

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