提问人:Programming-Lover 提问时间:10/27/2023 更新时间:11/2/2023 访问量:27
将食谱上传到 Chef Supermarket 失败,并出现身份验证错误
Uploading Cookbook to the Chef Supermarket is failing with Authentication Error
问:
我正在尝试将食谱上传到 Chef 超市,但它失败并出现以下错误
# knife supermarket share starter -VV
INFO: Using configuration from /root/chef-repo/.chef/config.rb
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
Generating metadata for starter from /tmp/chef-starter-build20231025-11775-6q4gys/starter/metadata.rb
Making tarball starter.tgz
DEBUG: Signing: method: post, url: https://supermarket.chef.io/api/v1/cookbooks, file: #<File:0x0000000002fa4b58>, User-id: vinothini02, Timestamp: 2023-10-25T13:13:39Z
ERROR: Authentication failed due to an invalid public/private key pair. If you have changed your keys recently try logging out and logging back in to Supermarket.
谁能帮我解决这个问题?
答:
0赞
Programming-Lover
11/2/2023
#1
您需要在厨师底层 (https://api.chef.io/) 中创建一个帐户 并下载客户端 pem 移动到我的帐户 (https://id.chef.io/id/profile)。在 .chef 目录下使用此 pem。
评论