Skip to content

Storing credentials in the profile #296

@ms32035

Description

@ms32035

Is your feature request related to a problem? Please describe.
I'm trying to store some sensitive variables like storage account credentials in the dbt profile, and then use them in sql using target. So far the only feasible solution seems to be using custom parameters like log_comment custom_settings: {'log_comment': 'myaccountkey=='} because others are not passed to the target

Describe the solution you'd like
extend the profile to allow additional credentials, for example

extra_params:
  var1: val1

and pass that to the target

Describe alternatives you've considered
setting env variables and referring to them in a macro isn't acceptable. the value must come from a profile

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions