In Puppet, there is a auth.conf file which permits to define some authorization
thanks to regex on path of the REST API
For example, by default in Puppet, there is:
allow nodes to retrieve their own catalog (ie their configuration)
path ~ ^/catalog/([^/]+)$
which permits to dynamically setup the authorization on the request.
For exemple, the request
will only work if it is the client ‘clienthostname’ which request it, otherwise
it will fail with an authorization error.
Is there a similar feature in opensource Chef on the Chef REST API please ?
Thanks in advance for your answers.