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

Method GetAllMetadata

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

GetAllMetadata retrieves all the credentials from the store. Credentials retrieved will only call [Secret.SetMetadata] so that the underlying store does not get queried for each secret's sensitive data. This could be very taxing on the underlying store and cause a poor User Experience.

(ctx context.Context)

Source from the content-addressed store, hash-verified

84 // This could be very taxing on the underlying store and cause a poor User
85 // Experience.
86 GetAllMetadata(ctx context.Context) (map[ID]Secret, error)
87 // Save persists credentials from the store.
88 Save(ctx context.Context, id ID, secret Secret) error
89 // Upsert atomically replaces an existing credential or inserts a new one.

Callers 6

TestKeychainFunction · 0.65
newCommandFunction · 0.65
TestPOSIXAgeFunction · 0.65
runRmFunction · 0.65
ListCommandFunction · 0.65

Implementers 2

MockStorestore/mocks/mock_store.go
MockStoreplugins/pass/teststore/teststore.go

Calls

no outgoing calls

Tested by 3

TestKeychainFunction · 0.52
TestPOSIXAgeFunction · 0.52