Skip to main content
Infisical supports the use of User Private Key to connect with Chef Server. Please access your starter kit to get all the required information to create a Chef Connection.
If you download a new starter kit, your previous private key/user key will no longer be valid. Please make sure to update all the places that use the previous private key.
1

Navigate to your Chef Server Dashboard, and click on the 'Organizations' tab

Chef Server User Keys
2

Click on the organization you want to connect to, and then click on the 'Starter Kit' button

Starter Kit
3

Click on the 'Download Starter Kit' button to download the starter kit

Download Starter
Kit
4

Download the starter kit zip file and extract the contents

Extract Starter
Kit
1

Open your starter kit's folder

Open your starter kit’s folder(or chef-repo) and navigate to the .chef folder.
Please make sure you have hidden files visible in your file explorer.
.chef folder
2

Copy the private key

In the .chef folder, you will find a [your-username].pem file. Private
Key FilePrivate Key: Copy the content of the private key file.
3

Open the config.rb file

Open the config.rb file and copy the content of the file.Config.rb File ContentUser Name(1): The user name of the chef user.Server URL(2): The server url of the chef server.Organization Name(3): The organization name of the chef server.

Create a Chef Connection in Infisical via UI

  • Infisical UI
  • API
1

Navigate to App Connections

In your Infisical dashboard, navigate to the App Connections page in the desired project.App Connections Tab
2

Select Chef Connection

Click + Add Connection and choose Chef Connection from the list of integrations.Select Chef Connection
3

Fill out the Chef Connection form

Complete the form by providing:
  • A descriptive name for the connection
  • An optional description
  • Server URL(optional): The URL of the Chef server to connect with (defaults to https://api.chef.io)
  • Organization short name
  • User name
  • Private key: Your Chef user’s private key (.pem file) Chef Connection Modal
4

Connection created

After submitting the form, your Chef Connection will be successfully created and ready to use with your Infisical project.Chef Connection Created