Skip to content

Data Source Credentials Config #80

@bh2smith

Description

@bh2smith

Currently we're using key as the universal credentials for both Dune (API Key) and Postgres (DSN). However, other data bases like S3 buckets will use different types of credentials that will go beyond just a string value.

For this reason we would like to introduce (backwards compatible) "credentials" field:

For Postgres this would become:

credentials:
  dsn: ${DB_URL}

For Dune:

credentials:
  api_key: ${DB_URL}

For S3 this would be some kind of IAM role info...

I, personally, like the key field as short-hand notation so we could keep this around and continue to support it (unless it gets messy). This change may not be necessary until we actually introduce another data source that requires credentials beyond a string (e.g. #59).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions