c836f425bc
X509 certificates are used by Windows for passwordless authentication (WinRM) in a way which can be considered consistent with the usage of SSH keys on Linux, as both are based on public / private keypairs. Enables nova-api to return the keypair type, updates nova-api version to reflect the changes and updates the unit and functional tests to validate the API changes. Unit tests have been updated to ensure that the keypair type is not being returned on previous API versions. Note: x509 keypair implementation is added in the next commit. DocImpact - See nova/api/openstack/rest_api_version_history.rst for details APIImpact Depends-On: Id5b210d7afe5c0a590abcbd42b9ff85b071a5c55 Co-Authored-By: Chris Yeoh <cyeoh@au1.ibm.com> Partially implements: blueprint keypair-x509-certificates Change-Id: I215662f2f92a01921a866c3218031787a9eaf915
15 lines
791 B
JSON
15 lines
791 B
JSON
{
|
|
"keypair": {
|
|
"fingerprint": "44:fe:29:6e:23:14:b9:53:5b:65:82:58:1c:fe:5a:c3",
|
|
"name": "keypair-6638abdb-c4e8-407c-ba88-c8dd7cc3c4f1",
|
|
"type": "ssh",
|
|
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1HTrHCbb9NawNLSV8N6tSa8i637+EC2dA+lsdHHfQlT54t+N0nHhJPlKWDLhc579j87vp6RDFriFJ/smsTnDnf64O12z0kBaJpJPH2zXrBkZFK6q2rmxydURzX/z0yLSCP77SFJ0fdXWH2hMsAusflGyryHGX20n+mZK6mDrxVzGxEz228dwQ5G7Az5OoZDWygH2pqPvKjkifRw0jwUKf3BbkP0QvANACOk26cv16mNFpFJfI1N3OC5lUsZQtKGR01ptJoWijYKccqhkAKuo902tg/qup58J5kflNm7I61sy1mJon6SGqNUSfoQagqtBH6vd/tU1jnlwZ03uUroAL Generated-by-Nova\n",
|
|
"user_id": "fake",
|
|
"deleted": false,
|
|
"created_at": "2014-05-07T12:06:13.681238",
|
|
"updated_at": null,
|
|
"deleted_at": null,
|
|
"id": 1
|
|
}
|
|
}
|