You are here: Home / LBN / Up2date / Core Linux / BastionLinux 25 / summon-chefapi-0.1.1-0.2.git88fdef1.lbn25.x86_64

summon-chefapi-0.1.1-0.2.git88fdef1.lbn25.x86_64

Package Attributes
RPM  summon-chefapi-0.1.1-0.2.git88fdef1.lbn25.x86_64.rpm Architecture  x86_64 Size  5371201 Created  2021/11/29 02:44:51 UTC
Package Specification
Summary Summon provider for Chef encrypted data bags
Group Unspecified
License MIT
Home Page http://github.com/cyberark/summon-chefapi
Description

For many, Chef encrypted data bags are difficult to work with. This Summon provider allows you to use Summon + secrets.yml to improve your development workflow with encrypted data bags. Example

Create an encrypted data bag with a PostgreSQL password.

$ knife data bag create passwords postgres --secret-file encrypted_data_bag_secret

{ "id": "postgres", "value": "mysecretpassword" }

Install Summon and this provider.

Create a secrets.yml file.

POSTGRES_PASSWORD: !var passwords/postgres/value

Now you can inject the password into any process as an environment variable. Instead of dealing with the Data Bag API in your Chef recipe, you can just use ENV['POSTGRES_PASSWORD'].

$ summon chef-client --once

Once chef-client finishes, the password is gone, not left on your system.

Configure

Configuration of this provider is through environment variables:

CHEF_NODE_NAME: The name of the node. (node_name in knife.rb) CHEF_CLIENT_KEY_PATH: The location of the file that contains the client key. (client_key in knife.rb) CHEF_SERVER_URL: The URL for the Chef server. (chef_server_url in knife.rb) CHEF_DECRYPTION_KEY_PATH: The location of the file that contains the decryption key. CHEF_SKIP_SSL: Skip SSL verification (for self-signed certs). Set to "1" to activate.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
Provides
summon(chef)
summon(chefapi)
summon-chefapi
summon-chefapi(x86-64)

Document Actions