Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let's talk about TLS #432

Closed
gianarb opened this issue Feb 3, 2021 · 2 comments
Closed

Let's talk about TLS #432

gianarb opened this issue Feb 3, 2021 · 2 comments
Labels
triage/discuss Indicates a PR or issue that requires discussion

Comments

@gianarb
Copy link
Contributor

gianarb commented Feb 3, 2021

Hey!

As you know today we do gRPC over TLS. In general, I don't know what to expect. @mmlb proposed to remove it until we figure something out and I started doing it until I stopped because I think I want to know more first.

My expectation for TLS is to be able to use it as a way to identify a user and to be able to figure out in the future what that user can do. Almost like a service account for kubernetes.

Right now we are far away from it and as @detiber pointed out here #266 the way we do TLS now is not even flexible enough.

So, what do we want? We can remove TLS for now, demanding it to some other actors like Traefik, NGIX, and similar (it won't be part of sandbox, but we should write tutorials about how to run Tinkerbell gRPC/HTTP API under TLS and cycle back on this topic later... Or something else!

@gianarb gianarb added the triage/discuss Indicates a PR or issue that requires discussion label Feb 3, 2021
@nicklasfrahm
Copy link

nicklasfrahm commented Feb 3, 2021

I think removing it for now makes sense. TLS can then be outsourced to a reverse proxy as you said.

As for authentication and authorization, maybe JSON Web Tokens could be used. They allow for fine grained access control and don't require TLS. I don't know how they integrate with gRPC though. Using JWTs would also give the advantage of decoupling TLS from authentication and authorization.

But this is only my 2 cents.

@gianarb
Copy link
Contributor Author

gianarb commented Feb 3, 2021 via email

@gianarb gianarb closed this as completed Mar 10, 2021
@tinkerbell tinkerbell locked and limited conversation to collaborators Mar 10, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
triage/discuss Indicates a PR or issue that requires discussion
Projects
None yet
Development

No branches or pull requests

2 participants