0.6.0.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ==============
  2. salt-api 0.6.0
  3. ==============
  4. :program:`salt-api` inches closer to prime-time with 0.6.0. This release adds
  5. the beginnings of a universal interface for accessing Salt components via the
  6. tried and true method of passing low-data to functions (a core component of
  7. Salt's remote execution and state management).
  8. Low-data interface
  9. ==================
  10. A new view accepts :http:post: requests at the root URL that accepts raw
  11. low-data as :http:post: data and passes that low-data along to a client
  12. interface in Salt. Currently only LocalClient and RunnerClient interfaces have
  13. been implemented in Salt with more coming in the next Salt release.
  14. External authentication
  15. -----------------------
  16. Raw low-data can contain authentication credentials that make use of Salt's new
  17. :conf_master:`external_auth` system.
  18. The following is a proof-of-concept of a working eauth call. (It bears
  19. repeating this is a pre-alpha release and this should not be used by anyone for
  20. anything real.)
  21. .. code-block:: bash
  22. % curl -si localhost:8000 \
  23. -d client=local \
  24. -d tgt='*' \
  25. -d fun='test.ping' \
  26. -d arg \
  27. -d eauth=pam \
  28. -d username=saltdev \
  29. -d password=saltdev
  30. Participation
  31. =============
  32. :program:`salt-api` is just getting off the ground so feedback, questions, and
  33. ideas are critical as we solidify how this project fits into the overall Salt
  34. infrastructure management stack. Please get involved by `filing issues`__ on
  35. GitHub, `discussing on the mailing list`__, and chatting in ``#salt-devel`` on
  36. Freenode.
  37. .. __: https://github.com/saltstack/salt-api/issues
  38. .. __: https://groups.google.com/forum/#!forum/salt-users