Skip to content

Token generator doesn't understand !env vars #321

@KazimirPodolski

Description

@KazimirPodolski
  1. Have some env vars in your powersync.conf:
    ...
    client_auth:
      jwks:
        keys:
          - alg: HS256
            kty: oct
            k: !env PS_JWT_SECRET
    ...
  2. Run token generator for this config:
    (node:1755082) [TAG_RESOLVE_FAILED] YAMLWarning: Unresolved tag: !env at line 59, column 12:
    
            k: !env PS_JWT_SECRET
               ^^^^
    

The token was generated tho, but I have a suspicion it's not correct...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions