التفويض بين الخدمات
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
choose mechanisms for service identity and authorization.
الموضوعات المخطط لها
- Workload identity: each service gets its own identity issued by the platform (for example SPIFFE-style identities); verify which standard and tooling you use before recording.
- mTLS authenticates both ends and encrypts traffic; a service mesh can automate certificate rotation.
- Scoped tokens carry what a caller may do (audience, scopes), kept short-lived.
- Authorization decides at the callee: allow-lists of caller identities per endpoint, with business rules in a policy layer.
- Avoid shared credentials between teams; one service, one identity.
تفاصيل المخطط المبدئي
عرض عملي
An authorization matrix: caller identity | endpoint or event topic | action allowed. Example: fulfillment-service may read Shop order events; may not read payment data.
اختبر فهمك
Why avoid shared credentials between teams?
أظهر الإجابة
You cannot tell who did what, and a leak exposes every user of the credential.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.