def import_key(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, custom_headers:nil)
      response = import_key_async(vault_base_url, key_name, key, hsm:hsm, key_attributes:key_attributes, tags:tags, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def import_key(vault_base_url, key_name, key, hsm:nil, key_attributes:nil, tags:nil, custom_headers:nil)
      response = import_key_async(vault_base_url, key_name, key, hsm:hsm, key_attributes:key_attributes, tags:tags, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Imports an externally created key, stores it, and returns key parameters and
 attributes to the client.

 The import key operation may be used to import any key type into an Azure Key
 Vault. If the named key already exists, Azure Key Vault creates a new version
 of the key. This operation requires the keys/import permission.

 @param vault_base_url [String] The vault name, for example
 https://myvault.vault.azure.net.
 @param key_name [String] Name for the imported key.
 @param key [JsonWebKey] The Json web key
 @param hsm [Boolean] Whether to import as a hardware key (HSM) or software
 key.
 @param key_attributes [KeyAttributes] The key management attributes.
 @param tags [Hash{String => String}] Application specific metadata in the
 form of key-value pairs.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [KeyBundle] operation results.