From 3551b711547a47e25f9ae4f76fb356a47b66e504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 16 Oct 2024 12:21:38 +0200 Subject: [PATCH] Add sensitive attribute to resource with credentials --- site-cookbooks/kosmos-bitcoin/recipes/aws-client.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos-bitcoin/recipes/aws-client.rb b/site-cookbooks/kosmos-bitcoin/recipes/aws-client.rb index 04e6d84..8debd9b 100644 --- a/site-cookbooks/kosmos-bitcoin/recipes/aws-client.rb +++ b/site-cookbooks/kosmos-bitcoin/recipes/aws-client.rb @@ -11,6 +11,7 @@ credentials = Chef::EncryptedDataBagItem.load('credentials', 'backup') file "/root/.aws/config" do mode "600" + sensitive true content lazy { <<-EOF [default] region = #{credentials["s3_region"]}