OSDN Git Service

add `SECRET_HASHING_PASSWORD` env. variable support.
[metasearch/grid-chef-repo.git] / cookbooks / screwdriver / attributes / default.rb
index 6a65439..7b5a296 100644 (file)
@@ -76,6 +76,19 @@ default['screwdriver']['password_vault_item'] = {
   #'key' => 'hash/path/to/password',  # real hash path: "/#{node.chef_environment}/hash/path/to/password"
 =end
 }
+# A password used for hashing user/pipeline access tokens. Needs to be minimum 32 characters
+default['screwdriver']['hashing_password_vault_item'] = {
+=begin
+  'vault' => 'screwdriver',
+  'name' => 'hashing_password',
+  # single password or nested hash password path delimited by slash
+  'env_context' => false,
+  'key' => 'password',  # real hash path: "/password"
+  # or nested hash password path delimited by slash
+  #'env_context' => true,
+  #'key' => 'hash/path/to/password',  # real hash path: "/#{node.chef_environment}/hash/path/to/password"
+=end
+}
 default['screwdriver']['db_username_vault_item'] = {
 =begin
   'vault' => 'screwdriver',