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

Method EncryptedDataKey

gcpkms/keysource.go:205–207  ·  view source on GitHub ↗

EncryptedDataKey returns the encrypted data key this master key holds.

()

Source from the content-addressed store, hash-verified

203
204// EncryptedDataKey returns the encrypted data key this master key holds.
205func (key *MasterKey) EncryptedDataKey() []byte {
206 return []byte(key.EncryptedKey)
207}
208
209// EncryptIfNeeded encrypts the provided SOPS data key, if it has not been
210// encrypted yet.

Callers 5

DecryptContextMethod · 0.95
TestMasterKey_EncryptFunction · 0.95

Calls

no outgoing calls