MCPcopy Create free account
hub / github.com/docker/secrets-engine / Metadata

Method Metadata

store/store.go:67–67  ·  view source on GitHub ↗

Metadata returns a key-value pair of non-sensitive data about the secret

()

Source from the content-addressed store, hash-verified

65 Unmarshal(data []byte) error
66 // Metadata returns a key-value pair of non-sensitive data about the secret
67 Metadata() map[string]string
68 // SetMetadata allows the caller to set the secrets non-sensitive data
69 // A secret may expects certain keys or values from the map and may return
70 // an error.

Callers 8

SaveMethod · 0.65
TestMacosKeychainFunction · 0.65
SaveMethod · 0.65
SaveMethod · 0.65
newCommandFunction · 0.65
SaveMethod · 0.65
TestPOSIXAgeFunction · 0.65
assertStoredMetadataFunction · 0.65

Implementers 4

MockCredentialstore/mocks/mock_credential.go
secretstore/examples/secret.go
MockMyOtherValueplugins/pass/plugin_test.go
PassValueplugins/pass/store/store.go

Calls

no outgoing calls

Tested by 3

TestMacosKeychainFunction · 0.52
TestPOSIXAgeFunction · 0.52
assertStoredMetadataFunction · 0.52