ExAws.S3.Crypto.KMSWrapper.decrypt_key

You're seeing just the function decrypt_key, go back to ExAws.S3.Crypto.KMSWrapper module for more information.
Link to this function

decrypt_key(encrypted_key, context)

View Source

Specs

decrypt_key(encrypted_key :: bitstring(), context :: map()) ::
  {:ok, key :: bitstring()} | {:error, reason :: String.t()}

Decrypt an encrypted data key.

The context is an encryption context that should generally just be a map of %{"kms_cmk_id" => key_id} for the master key_id used in the initial generation.