class ChefVault

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.

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.

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.

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.

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.

Constants

TINY
VERSION

Attributes

vault[RW]

Public Class Methods

load_config(chef_config_file) click to toggle source
# File lib/chef-vault.rb, line 57
def self.load_config(chef_config_file)
  Chef::Config.from_file(chef_config_file)
end
new(vault, chef_config_file = nil) click to toggle source
# File lib/chef-vault.rb, line 40
def initialize(vault, chef_config_file = nil)
  @vault = vault
  ChefVault.load_config(chef_config_file) if chef_config_file
end

Public Instance Methods

certificate(name) click to toggle source
# File lib/chef-vault.rb, line 53
def certificate(name)
  ChefVault::Certificate.new(vault, name)
end
user(username) click to toggle source
# File lib/chef-vault.rb, line 49
def user(username)
  ChefVault::User.new(vault, username)
end
version() click to toggle source
# File lib/chef-vault.rb, line 45
def version
  VERSION
end