summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneha-p6 <neha.pansare@progress.com>2022-06-02 12:47:03 +0530
committerGitHub <noreply@github.com>2022-06-02 12:47:03 +0530
commit12c5808e25514de14350d16a0d2304ddfbded70a (patch)
tree6467a8e9af182eec81ea52e43f5fb57ebcca3db0
parentcf11ea38b1069e2b666305be68158d37adfb7efb (diff)
downloadchef-12c5808e25514de14350d16a0d2304ddfbded70a.tar.gz
Remove the befa feature warning which shows up when using Secret Manager (#12925)
Signed-off-by: Neha Pansare <neha.pansare@progress.com>
-rw-r--r--lib/chef/dsl/secret.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/dsl/secret.rb b/lib/chef/dsl/secret.rb
index 2377ae36fe..04ca2b2adf 100644
--- a/lib/chef/dsl/secret.rb
+++ b/lib/chef/dsl/secret.rb
@@ -162,10 +162,6 @@ class Chef
# value = secret(name: "test1", service: :aws_secrets_manager, version: "v1", config: { region: "us-west-1" })
# log "My secret is #{value}"
def secret(name: nil, version: nil, service: default_secret_service, config: default_secret_config)
- Chef::Log.warn <<~EOM.gsub("\n", " ")
- The secrets Chef Infra language helper is currently in beta. If you have feedback or you would
- like to be part of the future design of this helper e-mail us at secrets_management_beta@progress.com"
- EOM
sensitive(true) if is_a?(Chef::Resource)
Chef::SecretFetcher.for_service(service, config, run_context).fetch(name, version)
end