285994be59
Password is stored in system_instance_metadata as four items with the keys 'password_0' through 'password_3'. The extension adds a resource endpoint with two methods: GET v2/servers/<uuid>/os-server-password # get_password DELETE v2/servers/<uuid>/os-server-password # reset_password get_password retuns: JSON: {"password": "xxx"} XML: <?xml version='1.0' encoding='UTF-8'?><password>xxx</password> Note that this is intended to be an encrypted password set by the guest. Includes api tests for json and xml. Also includes api samples. Part of blueprint get-password Change-Id: I6c03f9c3bc8a2c70403bbb3e57917ab9522d75bd
2 lines
404 B
XML
2 lines
404 B
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<password>xlozO3wLCBRWAa2yDjCCVx8vwNPypxnypmRYDa/zErlQ+EzPe1S/Gz6nfmC52mOlOSCRuUOmG7kqqgejPof6M7bOezS387zjq4LSvvwp28zUknzy4YzfFGhnHAdai3TxUJ26pfQCYrq8UTzmKF2Bq8ioSEtVVzM0A96pDh8W2i7BOz6MdoiVyiev/I1K2LsuipfxSJR7Wdke4zNXJjHHP2RfYsVbZ/k9ANu+Nz4iIH8/7Cacud/pphH7EjrY6a4RZNrjQskrhKYed0YERpotyjYk1eDtRe72GrSiXteqCM4biaQ5w3ruS+AcX//PXk3uJ5kC7d67fPXaVz4WaQRYMg==</password> |