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

Google Secret Manager as Source #82

Closed

Conversation

brunodomenici
Copy link
Contributor

Hi,

As mentioned in #81 I needed to implement Google Secret Manager as Source.

I'm not a Scala developer so, I'm sorry if I did anything wrong 🙈

closes #81

Copy link
Contributor

@simplesteph simplesteph left a comment

Choose a reason for hiding this comment

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

So overall I think this may work, but I see many problems:

  • performance issues in case of many secrets in your secret manager
  • every 10 seconds you will request the secrets, which is not efficient and may cost a lot ($0.03 per 10,000 operations)
  • not following the concept of "check if it has changed and then request".

For this use case, I feel that Cloud Storage: https://cloud.google.com/storage is a much better place for the Kafka ACL, will contain the API to see if a file has changed, and can still have security and encryption of the Kafka ACL if wanted.

You can keep your module as a community module in your own GitHub, but unfortunately I don't think GCP secrets manager is an efficient fit for KSM

@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [0.10 - SNAPSHOT]
- Added Google Secret Manager as an ACL source
Copy link
Contributor

Choose a reason for hiding this comment

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

we're still in 0.9 - SNAPSHOT

@brunodomenici
Copy link
Contributor Author

Secret Manager is already part of the ecosystem here, the cost isn't really an issue (and I configured KSM to refresh each 2 minutes).

I understand. I'll keep in other repo...

@simplesteph
Copy link
Contributor

Thanks for understanding @brunodomenici , sorry for not including it in KSM, but if you have it as a community module under your own repo, I will link to it in the README :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google Secret Manager as Source
2 participants