def wrap_key(vault_base_url, key_name, key_version, algorithm, value, custom_headers:nil)
      response = wrap_key_async(vault_base_url, key_name, key_version, algorithm, value, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def wrap_key(vault_base_url, key_name, key_version, algorithm, value, custom_headers:nil)
      response = wrap_key_async(vault_base_url, key_name, key_version, algorithm, value, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Wraps a symmetric key using a specified key.

 The WRAP operation supports encryption of a symmetric key using a key
 encryption key that has previously been stored in an Azure Key Vault. The
 WRAP operation is only strictly necessary for symmetric keys stored in Azure
 Key Vault since protection with an asymmetric key can be performed using the
 public portion of the key. This operation is supported for asymmetric keys as
 a convenience for callers that have a key-reference but do not have access to
 the public key material. This operation requires the keys/wrapKey permission.

 @param vault_base_url [String] The vault name, for example
 https://myvault.vault.azure.net.
 @param key_name [String] The name of the key.
 @param key_version [String] The version of the key.
 @param algorithm [JsonWebKeyEncryptionAlgorithm] algorithm identifier.
 Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
 @param value
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [KeyOperationResult] operation results.