knife configure subcommand to create the client.rb and credential files so that they can be distributed to workstations and nodes.
This subcommand has the following syntax when creating a credentials file:
knife configure (options)
and the following syntax when creating a client.rb file:
knife configure client DIRECTORY
This subcommand has the following options for use when configuring a config.rb file:
The name of the client, typically the name of the admin client.
The path to the private key used by the client, typically a file named
Create a API client, typically an administrator client on a freshly-installed Chef Infra Server.
The path to the chef-repo.
The name of the validation client, typically a client named chef-validator.
The path to the validation key used by the client, typically a file named chef-validator.pem.
The following examples show how to use this knife subcommand:
Configure credentials file
knife configure client '/directory'