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

Method SetEncryptedDataKey

hckms/keysource.go:189–191  ·  view source on GitHub ↗

SetEncryptedDataKey sets the encrypted data key for this master key.

(enc []byte)

Source from the content-addressed store, hash-verified

187
188// SetEncryptedDataKey sets the encrypted data key for this master key.
189func (key *MasterKey) SetEncryptedDataKey(enc []byte) {
190 key.EncryptedKey = string(enc)
191}
192
193// Decrypt decrypts the EncryptedKey with HuaweiCloud KMS and returns the result.
194//

Callers 1

Calls

no outgoing calls

Tested by 1