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 default Supports autocorrection Target Chef Version
Not Enabled No All 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

Name Default value Configurable values
Version Added 6.19 String
Exclude
  • **/metadata.rb
  • **/Berksfile
Array

Was this page helpful?

×









Search Results