-
Notifications
You must be signed in to change notification settings - Fork 161
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 #81
Comments
Yes that would be lovely ! Just please make sure to document this properly in the PR :)
Cheers
…On Wed, Jun 3 2020 at 9:36 AM, Bruno Domenici < ***@***.*** > wrote:
Hi,
I do have an internal need to implement Google Secret Manager as Source.
I've already implemented the source and I'd like to contribute to the
project, if your guys are interested 😄
The idea is to have many secrets as needed (because we have a 64kb payload
limit) in GCP with the contents of ACL and filter by labels (optional),
for example:
* secret-acl-test :
User:alice,Topic,LITERAL,foo,Read,Allow,*
User:bob,Group,bar,PREFIXED,Write,Deny,12.34.56.78
User:peter,Cluster,LITERAL,kafka-cluster,Create,Allow,*
* secret-acl-tes2 :
User:alice,Topic,LITERAL,foo,Read,Allow,*
User:jeff,Group,bar,PREFIXED,Write,Deny,12.34.56.78
User:john,Cluster,LITERAL,kafka-cluster,Create,Allow,*
We query all secrets, apply the filter and return the string with all ACLs
(with header):
KafkaPrincipal,ResourceType,PatternType,ResourceName,Operation,PermissionType,Host
User:alice,Topic,LITERAL,foo,Read,Allow,*
User:bob,Group,bar,PREFIXED,Write,Deny,12.34.56.78
User:peter,Cluster,LITERAL,kafka-cluster,Create,Allow,*
User:alice,Topic,LITERAL,foo,Read,Allow,*
User:jeff,Group,bar,PREFIXED,Write,Deny,12.34.56.78
User:john,Cluster,LITERAL,kafka-cluster,Create,Allow,*
Config:
New config section:
gcp-secret-manager {
projectid = ${?SOURCE_GCP_PROJECTID}
label_filter = ${?SOURCE_GCP_LABEL_FILTER}
}
Let me know if you are interested, I can open the PR.
Thanks and nice project!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
#81 ) , or unsubscribe
(
https://github.com/notifications/unsubscribe-auth/AE7CW2JDWW5M4TFXUKNX6GLRUYDSBANCNFSM4NROKS5A
).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I do have an internal need to implement Google Secret Manager as Source.
I've already implemented the source and I'd like to contribute to the project, if your guys are interested 😄
The idea is to have many secrets as needed (because we have a 64kb payload limit) in GCP with the contents of ACL and filter by labels (optional), for example:
secret-acl-test
:secret-acl-tes2
:We query all secrets, apply the filter and return the string with all ACLs (with header):
Config:
New config section:
Let me know if you are interested, I can open the PR.
Thanks and nice project!
The text was updated successfully, but these errors were encountered: