MCPcopy
hub / github.com/Infisical/agent-vault / SecretsFetcher

Interface SecretsFetcher

internal/infisical/client.go:21–24  ·  view source on GitHub ↗

SecretsFetcher is the slice of the SDK the syncer actually uses; tests substitute their own implementation without standing up the real client.

Source from the content-addressed store, hash-verified

19// SecretsFetcher is the slice of the SDK the syncer actually uses; tests
20// substitute their own implementation without standing up the real client.
21type SecretsFetcher interface {
22 FetchSecrets(ctx context.Context, cfg VaultConfig) ([]Secret, error)
23 AuthMethod() AuthMethod
24}
25
26// DynamicSecretInfo names a dynamic-secret config discovered at a vault's path.
27// Its fields are unknown until a lease is minted.

Callers 2

refreshMethod · 0.65

Implementers 4

Clientinternal/infisical/client.go
fakeFetcherinternal/infisical/sync_test.go
blockingFetcherinternal/infisical/sync_test.go
stubFetcherinternal/server/server_test.go

Calls

no outgoing calls

Tested by

no test coverage detected