Decrypt decrypts the EncryptedKey field with Vault Transit and returns the result. Consider using DecryptContext instead.
()
| 273 | // |
| 274 | // Consider using DecryptContext instead. |
| 275 | func (key *MasterKey) Decrypt() ([]byte, error) { |
| 276 | return key.DecryptContext(context.Background()) |
| 277 | } |
| 278 | |
| 279 | // DecryptContext decrypts the EncryptedKey field with Vault Transit and returns the result. |
| 280 | func (key *MasterKey) DecryptContext(ctx context.Context) ([]byte, error) { |