
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Client library to fetch and manage data bags from a server. Databags can be used for settings, app configurations and arbitrary json data.
gem install dbag
require "lib/dbag";
client = Dbag::Client.new("http://YOUR_ENDPOINT", "YOUR AUTH TOKEN")
data_bag = client.find("YOUR DATA BAG KEY", "YOUR ENVIRONMENT")
data_bags = client.all
client.to_file(data_bag, "/your/path/your_file.json")
client.to_file(data_bag, "/your/path/your_file.yml", :yaml)
encrypted_on_server = false
new_data_bag = {"foo" => "bar", "baz" => "foo"}
client.create("NEW DATA BAG KEY", "production", new_data_bag, encrypted_on_server)
new_data_bag["foo"] = "bar2"
client.update("NEW DATA BAG KEY", "production", new_data_bag, encrypted_on_server)
data_bag2 = client.from_file("NEW DATA BAG KEY 2", "production", "/your/path/the_file_to_store.json", encrypted_on_server)
data_bag3 = client.from_file("NEW DATA BAG KEY 3", "development", "/path/some.yml", encrypted_on_server, :yaml)
Copyright (c) 2012 Oliver Kiessler. See LICENSE.txt for further details.
FAQs
Unknown package
We found that dbag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.