working on keypair resource

Change-Id: I51b7a5cc5091c9f0c81552533e0f424cc3705b6f