%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/auth/ |
Current File : //lib/python2.7/site-packages/salt/auth/sharedsecret.pyo |
� ���^c @@ sJ d Z d d l m Z m Z m Z d d l Z e j e � Z d � Z d S( uS Provide authentication using configured shared secret .. code-block:: yaml external_auth: sharedsecret: fred: - .* - '@jobs' The shared secret should be added to the master configuration, for example in /etc/salt/master.d/sharedsecret.conf (make sure that file is only readable by the user running the master): .. code-block:: yaml sharedsecret: OIUHF_CHANGE_THIS_12h88 This auth module should be used with caution. It was initially designed to work with a frontal that takes care of authentication (for example kerberos) and places the shared secret in the HTTP headers to the salt-api call. This salt-api call should really be done on localhost to avoid someone eavesdropping on the shared secret. See the documentation for cherrypy to setup the headers in your frontal. .. versionadded:: Beryllium i ( t absolute_importt print_functiont unicode_literalsNc C@ s | t j d � k S( u&