lib/fluent/plugin/kafka_plugin_util.rb in madhawk57-log-0.1.3 vs lib/fluent/plugin/kafka_plugin_util.rb in madhawk57-log-0.1.4
- old
+ new
@@ -77,13 +77,15 @@
:desc => "version of secret to fetch, default: latest"
}
end
def fetch
+=begin
puts "project id: #{@projectId}"
puts "secret name: #{@secretName}"
puts "version: #{@version}"
+=end
client = Google::Cloud::SecretManager.secret_manager_service
req = client.secret_version_path(
project: @projectId,
@@ -99,9 +101,11 @@
end
@username = s[0]
@password = s[1]
@scram_mechanism = "PLAIN"
+
+ s
end
end
end
end