SecretsFetcher is the slice of the SDK the syncer actually uses; tests substitute their own implementation without standing up the real client.
| 19 | // SecretsFetcher is the slice of the SDK the syncer actually uses; tests |
| 20 | // substitute their own implementation without standing up the real client. |
| 21 | type 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. |
no outgoing calls
no test coverage detected