mediadepot / chef-depot

DEPRECATED: Replaced by mediadepot/ignition
https://github.com/mediadepot/ignition
28 stars 2 forks source link

[manager] enable authentication on rancher #4

Closed AnalogJ closed 8 years ago

AnalogJ commented 8 years ago

Enabling auth is a POST to /v1/localAuthConfig with

    {
      "type": "localAuthConfig",
      "accessMode": "unrestricted",
      "enabled": true,
      "name": "John Smith",
      "username": "jsmith",
      "password": "hunter2"
    }

http://forums.rancher.com/t/configure-local-authentication-via-api/615/2

AnalogJ commented 8 years ago

done.