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

© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/workstation/cookstyle/chef_effortless_chefvaultused/