MCPcopy Index your code
hub / github.com/getsops/sops / Decrypt

Method Decrypt

kms/keysource.go:313–315  ·  view source on GitHub ↗

Decrypt decrypts the EncryptedKey with a newly created AWS KMS config, and returns the result. Consider using DecryptContext instead.

()

Source from the content-addressed store, hash-verified

311//
312// Consider using DecryptContext instead.
313func (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.

Callers

nothing calls this directly

Calls 1

DecryptContextMethod · 0.95

Tested by

no test coverage detected