Skip to main content
Version: 0.0.25

Method: key_pair_import

Method for importing EC2 keypairs, based on a local one.

Returns following columns:

  • name: The name for the created key
  • status: OK if the certificate was imported successfully
  • message: Error message in case of failure

Example

SELECT * FROM key_pair_import ('test-key', '<content_for_ssh_key>', 'us-east-1');

See