Skip to main content
Version: 0.0.25

Method: key_pair_request

Method for requesting a new EC2 keypair

Returns following columns:

  • name: The name for the created key
  • status: OK if the key was created successfully
  • message: Error message in case of failure
  • privateKey: Content of the private key. You will need to store it safely, as it won't be stored and shown again.


SELECT * FROM key_pair_request ('key_name', 'us-east-1');