Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


ssh-private-keys (4) Versions 1.0.0

Deploy OpenSSH private keys

cookbook 'ssh-private-keys', '= 1.0.0', :supermarket
cookbook 'ssh-private-keys', '= 1.0.0'
knife supermarket install ssh-private-keys
knife supermarket download ssh-private-keys
Quality 50%


Chef cookbook to deploy OpenSSH private keys on a system. Data is stored in the encrypted data bag which name is specified in the attribute node['ssh-private-keys']['data_bag_name'] (by default ssh-private-keys). Data bag item name matches node.chef_environment value.

Encrypted data bag format

  "id": "development",
  "server1.acme.corp": {
    "admin1": {
      "id_rsa": "",
  "server2.acme.corp": {
    "admin2": {
      "id_ed25519": ""



Keys deployment is made by using ssh_private_key resource. For example,

ssh_private_key 'admin1'

Server hostname will be automatically detected and the appropriate record will be retrieved from the encrypted data bag. All keys in the specified record (e.g. RSA, Ed25519) will be placed under user's SSH directory (/home/username/.ssh).


MIT @ Alexander Pyatkin

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric

1.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric

1.0.0 passed this metric