Decrypt decrypts the EncryptedKey with a newly created AWS KMS config, and returns the result. Consider using DecryptContext instead.
()
| 311 | // |
| 312 | // Consider using DecryptContext instead. |
| 313 | func (key *MasterKey) Decrypt() ([]byte, error) { |
| 314 | return key.DecryptContext(context.Background()) |
| 315 | } |
| 316 | |
| 317 | // DecryptContext decrypts the EncryptedKey with a newly created AWS KMS config, and |
| 318 | // returns the result. |
nothing calls this directly
no test coverage detected