-
Notifications
You must be signed in to change notification settings - Fork 68
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
kamus-cli - unclear error when trying to encrypt a secret for SA in default namespace #130
Comments
Currently encrypting for the default service account is not supported. Kamus try to encourage you to create a service account per application. |
You are right. When I create a service account and use that in the command, the encrypted data is successfully returned. However, if I encrypt twice, the encrypted data is different every time. Shouldn't the encrypted data be same each time?
|
Nope, the IV used for the symmetric encryption is generated per request (see this answer), this is why you're getting different responses for the same input. This is expected :) |
Can this be marked as a documentation bug?
should give a better error. |
Yes, added. The behavior will change when will add the CRD (#13) - the CRD will use the default SA in the namespace, so we'll have to allow users to encrypt for the default SA. |
It was probably fixed by the latest versions, please reopen if relevant. |
I installed kamus using these steps:
Here are my pods:
Continuing the steps:
Here's the relevant log from the first encryptor-api container:
Here's the relevant log from the second encryptor-api container:
Does anyone know why I am getting 400 during the encryption step or if I am missing some step?
Thank you.
The text was updated successfully, but these errors were encountered: