-
Notifications
You must be signed in to change notification settings - Fork 13
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
ROX-18428: implement KMS encryption and decryption #1178
Conversation
/retest |
9147719
to
d25a2ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
# Runs the AWS integration tests. | ||
test/aws: $(GOTESTSUM_BIN) | ||
RUN_AWS_INTEGRATION=true \ | ||
$(GOTESTSUM_BIN) --junitfile data/results/aws-integration-tests.xml --format $(GOTESTSUM_FORMAT) -- -p 1 -v -timeout 45m -count=1 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need timeout here if it's specified in the actions job?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to also timeout for local executions of this tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johannes94, kurlov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
New changes are detected. LGTM label has been removed. |
/retest |
@kurlov May I ask you to review once again the last 3 commits. I did some changes here, because I noticed that AWS KMS does not support encrypting secrets as large as our central-tls using the API. We have to generate a data key and use that instead. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
Description
Adding implementation and tests for En/Decryption of data using AWS KMS.
Change "RUN_AWS_RDS_TESTS" to a more generic test suite "RUN_AWS_INTEGRATION". Also changed the github action workflow so that it now executes both KMS and RDS Integration tests.
Checklist (Definition of Done)
Test manual
ROX-12345: ...
[] Add secret to app-interface Vault or Secrets Manager if necessary[ ] RDS changes were e2e tested manually[ ] Check AWS limits are reasonable for changes provisioning new resourcesTest manual
Integration tests are sufficient since this is not yet integrated into fleetshard-sync