Open ZhiHanZ opened 2 years ago
I think the priority of this issue is suitable for a good first issue? cc @flaneur2020
- end user send their private key to databend kernel and authenticated by their public key
I thought the private key
should never be sent out.
Some client logic is needed here:
Summary we could use key pair authentication as an alternative approach to basic authentication(user/password)
Process:
To support uninterrupted key rotation, it would be nice to support multiple public keys for a single user. like
RSA_PUBLIC_KEY
andRSA_PUBLIC_KEY_2
, it would be nice to set some quotas in kernel configuration and add necessary restrictionsexample SQL:
ref: https://docs.snowflake.com/en/user-guide/key-pair-auth.html