Skip to content

Secrets with special chars rise error unexpected token at #1200

@vldmr-k

Description

@vldmr-k

Hi All
I'm using kamal version 2.3.0.
When I try to extract secret from bitwarden

kamal secrets print

Kamal throw error

  ERROR (JSON::ParserError): unexpected token at '{"SENTRY/EMAIL_URL":"*****:~ArhTd7+3D8\'

Full secret is

smtp://*****:~ArhTd7+3D8)@mail.***.***:25

My .kamal/secrets

SECRETS=$(kamal secrets fetch --adapter bitwarden --account **** SENTRY/EMAIL_URL)

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