Replies: 2 comments
-
|
Agent requirements that should also be considered for future extensions in Thunder:
Also other types of entities may be required to be supported if needed(e.g. devices, service accounts, workloads, etc.) Based on this Model 1 or 2 should be able to satisfy the requirements. Whether application and/or resource should be included within the entity model or associated externally should be discussed. Please let know your suggestions on this |
Beta Was this translation helpful? Give feedback.
-
|
I don’t prefer Model 3. It solves the current problem, but Thunder is still new. This is a good time to build a base architecture that we can extend later, instead of solving only today’s need. I believe Model 1 will eventually turn into Model 2. We will need to keep credentials and state of entity/application in one common place. The other option is syncing between them, but I don’t think syncing is a good idea. Because of this, I lean more towards Model 2. From an access control point of view, Model 2.1 makes the most sense because it treats resources as entities. This makes the design flexible and easier to extend in the future. Examples:
If all resources extend from a common base entity, we can support these kinds of use cases easily in the future without special handling. However, we still need to think about some implementation concerns:
These issues don’t block the approach, but we should understand and plan for them. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Current Model
Requirement is to extend/modify this existing model to support agents as first-class entities.
Agent Requirements
Agents have characteristics and can function as these three entities:
Agent as an Application
Agent as an User
Agent as a Resource Server
Agent credentials should be able to function as both user and OAuth client credentials in the traditional-sense.
Learnings from IS
Proposed Entity Models for Thunder
Model 1(Agent/User IS an Entity)
Model 2(Application/Agent/User EXTENDS a Super Entity)
Model 1 may require maintaining the state, credentials of an entity in three places (Entity, Application and Resource)
E.g.
Model 2.1 (Application/Agent/User/Resource EXTENDS a Super Entity)
Extends Model 2.0 and includes resources as an entity too.
Pros:
Cons:
Model 3 (Agent as an application)
Pros:
Cons:
We will need to evaluate and finalize the model considering Thunder's future requirements too.
Beta Was this translation helpful? Give feedback.
All reactions