Skip to content
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

[cli] pulsar-client-tools supports end-to-end encryption #9615

Merged
merged 2 commits into from
Feb 18, 2021

Conversation

massakam
Copy link
Contributor

@massakam massakam commented Feb 18, 2021

I enabled the pulsar-client command to encrypt message payloads.

How to use:

$ ./bin/pulsar-client produce \
  -m my-msg \
  -n 10 \
  -ekn my-app-key \
  -ekv file:///path/to/public.key \
  persistent://public/default/test

$ ./bin/pulsar-client consume \
  -s my-sub \
  -n 10 \
  -ekv file:///path/to/private.key \
  persistent://public/default/test

@massakam massakam added type/feature The PR added a new feature or issue requested a new feature area/cli labels Feb 18, 2021
@massakam massakam added this to the 2.8.0 milestone Feb 18, 2021
@massakam massakam self-assigned this Feb 18, 2021
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

great! very useful.
I left a little comment about tests

@massakam
Copy link
Contributor Author

Addressed the comments. PTAL

@merlimat merlimat merged commit f3dc022 into apache:master Feb 18, 2021
@massakam massakam deleted the cli-encryption branch February 19, 2021 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants