Skip to main content

ChefVaultUsed

All Cookstyle Cops


The department is: Chef/Effortless

The full name of the cop is: Chef/Effortless/ChefVaultUsed


Enabled by defaultSupports autocorrectionTarget Chef Version
Not EnabledNoAll Versions

Chef Vault is not supported in the Effortless pattern, so usage of Chef Vault must be shifted to another secrets management solution before leveraging the Effortless pattern.

Examples

incorrect

require 'chef-vault'

#### incorrect

```ruby
ChefVault::Item

#### incorrect

```ruby
include_recipe 'chef-vault'

#### incorrect

```ruby
chef_gem 'chef-vault'

#### incorrect

```ruby
chef_vault_item_for_environment(arg, arg1)

#### incorrect

```ruby
chef_vault_item(arg, arg1)

Configurable attributes

NameDefault valueConfigurable values
Version Added6.19String
Exclude
  • **/metadata.rb
  • **/Berksfile
Array

Was this page helpful?









Search Results