cookbook 'chef-vault', '= 1.0.2'
The chef-vault cookbook has been deprecated
Author provided reason for deprecation:
The chef-vault cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef-vault cookbook is no longer recommended.
chef-vault
(26) Versions
1.0.2
-
Follow73
Installs the chef-vault gem and provides chef_vault_item recipe helper
cookbook 'chef-vault', '= 1.0.2', :supermarket
knife supermarket install chef-vault
knife supermarket download chef-vault
chef-vault Cookbook
This cookbook is responsible for installing the chef-vault
gem and
providing some helper methods to load encrypted data bags that are in
The Vault.
Chef Vault is a library by Nordstrom's infrastructure operations team
that helps manage encrypted data bags.
Requirements
This cookbook should work on any system/platform that is supported by Chef.
Helper Method
This cookbook provides a nice helper method for the Chef Recipe DSL so you can
write:
chef_vault_item("secrets", "dbpassword")
Instead of:
ChefVault::Item.load("secrets", "dbpassword")
Attributes
-
node['chef-vault']['version']
- Specify a version of the chef-vault gem if required. Default isnil
, so the latest version will be installed.
Usage
Include the recipe before using the Chef Vault library in recipes.
include_recipe 'chef-vault'
secret_stuff = ChefVault::Item.load("secrets", "a_secret")
Or, use the helper library method:
secret_stuff = chef_vault_item("secrets", "a_secret")
If you need a specific version of the chef-vault
RubyGem, then
specify it with the attribute, node['chef-vault']['version']
.
Contributing
This repository contains a CONTRIBUTING
file that describes the
contribution process for Opscode cookbooks.
License and Authors
- Author: Joshua Timberman joshua@opscode.com
- Copyright (c) 2013 Opscode, Inc. legal@opscode.com
License:: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.