Skip to content

Smoosh CredentialBroker and WorkerCapacity into AteomSupport - #1501

Open
Taahir Ahmed (ahmedtd) wants to merge 2 commits into
agent-substrate:mainfrom
ahmedtd:ateomsupport-smoosh
Open

Smoosh CredentialBroker and WorkerCapacity into AteomSupport#1501
Taahir Ahmed (ahmedtd) wants to merge 2 commits into
agent-substrate:mainfrom
ahmedtd:ateomsupport-smoosh

Conversation

@ahmedtd

Copy link
Copy Markdown
Collaborator

We shouldn't have a bunch of different gRPC services for atelet to provide services to ateoms. Combine the two that currently exist into one (AteomSupport).

Stacked over #1315

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

second commit LGTM

This was originally a separate service to make it easy to apply separate
authentication and authorization interceptors.  It now seems clear that
they should be in controlapi, with the same authn/z handlers chosen
there.

* Remove checks that will be handled in the authorizer framework.
Comment on lines +60 to +72
// Create a Substrate-issued JWT asserting the actor identity.
//
// * Called by the egress gateway when actor JWT injection is configured for outbound requests.
rpc MintActorJWT(MintActorJWTRequest) returns (MintActorJWTResponse) {}

// Create a Substrate-issued SPIFFE certificate asserting the actor identity.
//
// * Called by atelet to provision an atunnel with a certificate for
// communication with the egress gateway. TODO(ahmedtd): Migrate this use
// case to a distinct certificate to prevent actor/atunnel confusion.
// * Called by the egress gateway when actor client certificate injection is
// configured for outbound requests.
rpc MintActorCertificate(MintActorCertificateRequest) returns (MintActorCertificateResponse) {}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure I agree with this change. From a logical/security perspective these seem fairly different than the rest of these services. I understand that from an RBAC perspective we can treat them differently, but it can help to logically separate things which have different responsibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants