logstash-plugins / logstash-input-google_pubsub

Logstash input for pulling events from Google Pub/Sub service
Apache License 2.0
19 stars 33 forks source link

Add JSON key content for auth #68

Open omkar-g opened 1 month ago

omkar-g commented 1 month ago

Release notes

Added optional field json_key_file_content to get Service Account JSON key as an String input.

What does this PR do?

Add optional field json_key_file_content to get Service Account JSON key as an String input for authentication.

This will add one more option for user to pass Service Account JSON key. With this option the value of Service Account JSON key can be passed as String, instead of file path.

Why is it important/What is the impact to the user?

This change will not force user to deal with file upload for Service Account JSON key and it can be given as String.

Checklist

How to test this PR locally

Use the field json_key_file_content field instead of json_key_file in .conf file of logstash. And run the application outside of GCE.

cla-checker-service[bot] commented 1 month ago

❌ Author of the following commits did not sign a Contributor Agreement: 8c7bd3f42d14934ee3a12b9424a0c499304b2eb6, 352895ab2162180db2c0affb1059cd80a407b41c, f44dbb477eeb154bd8416dd482175e35cca39165

Please, read and sign the above mentioned agreement if you want to contribute to this project