Thread
#prefect-ui
    Laura Vaida

    Laura Vaida

    1 year ago
    how do i define a json file as a prefect secret with multiple values, e.g. to connect to a database in the ui?
    m

    Mariia Kerimova

    1 year ago
    Hello Laura! Defining json secrets is the same as for any other type of secrets. Go to Team tab -> Secrets -> Add secret and paste json secret.
    Laura Vaida

    Laura Vaida

    1 year ago
    thanks for the answer! I want to connect to a database, resulting this error:
    Unexpected error: TypeError('Connect() argument after ** must be a mapping, not PrefectSecret'
    ?
    m

    Mariia Kerimova

    1 year ago
    It seems that the issue is related to unpacking, not Prefect. It seems you’re looking for someone to walk you through step-by-step in your setup, which I’m unable to do. If you will face problems with PrefectSecret, please open an issue.
    Laura Vaida

    Laura Vaida

    1 year ago
    okeey thanks for your answer! I guess that's what the channel is about