1
我一直在尋找一種方法來設置從某些配置或cmd行github OAuth2訪問,甚至如何設置一個基本的密碼auth,直到可以從用戶界面建立。第一次運行前沒有辦法保證牧場主的安全嗎?
https://github.com/rancher/rancher
有誰知道怎麼樣?
我一直在尋找一種方法來設置從某些配置或cmd行github OAuth2訪問,甚至如何設置一個基本的密碼auth,直到可以從用戶界面建立。第一次運行前沒有辦法保證牧場主的安全嗎?
https://github.com/rancher/rancher
有誰知道怎麼樣?
這是你正在尋找一個基本的賬戶類型:
curl -H "Content-Type: application/json" -X POST "http://Your_rancher_url:PORT/v1/localauthconfig" -d '{"enabled": "true", "username":"NewUsersName", "password": "NewUsersPassword" }'
您可以設置的OAuth2太,點擊這裏: http://rancher.com/docs/rancher/v1.1/en/api/v1/access-control/