MCPcopy Create free account
hub / github.com/PostHog/duckgres / createS3Secret

Function createS3Secret

server/server.go:1975–1977  ·  view source on GitHub ↗

createS3Secret creates a DuckDB secret for S3/MinIO access. This is a standalone function so it can be reused by control plane workers. Supports three providers: - "config": explicit credentials (for MinIO or when you have access keys) - "credential_chain": DuckDB's built-in credential chain (does N

(db *sql.DB, dlCfg DuckLakeConfig)

Source from the content-addressed store, hash-verified

1973// but without indexes each batch requires a sequential scan.
1974//
1975// Keep in sync with the catalog-maintenance side of the house: the same index
1976// set (under ducklake_*_idx names) is applied to shared/standalone catalogs by
1977// the DuckLake maintenance tooling (PostHog/millpond, tools/ducklake_maintenance.py
1978// CATALOG_INDEXES). The two never overlap here because workers attach per-tenant
1979// catalogs, not the shared one.
1980var duckLakeMetadataIndexes = []duckLakeMetadataIndex{

Callers 2

openQueryLogDuckLakeDBFunction · 0.85
NewDuckLakeCheckpointerFunction · 0.85

Calls 1

createS3SecretWithFunction · 0.85

Tested by

no test coverage detected