Hello,
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/([^/]+)$
method find
allow $1
which permits to dynamically setup the authorization on the request.
For exemple, the request
/catalogue/clienthostname
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.
Best regards,
Christophe
Archive powered by MHonArc 2.6.16.