8000 [Secrets] Secret is not working as environment variable · Issue #35348 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content 8000
[Secrets] Secret is not working as environment variable #35348
Closed
@Myrkky

Description

@Myrkky

Symfony version(s) affected: tested with 5.0.2 and 4.4.2

Description
Tried to use secrets to store JWT_PASSPHRASE, but symfony wont pass it to environment variable.

How to reproduce

  1. symfony new test-jwt-secret
  2. bin/console secrets:generate-keys
  3. composer require jwt
  4. -- remove JWT_PASSPHRASE from .env
  5. bin/console secrets:set JWT_PASSPHRASE
  6. bin/console -> Environment variable not found: "JWT_PASSPHRASE".

Additional context
Screenshot 2020-01-15 at 9 54 27

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0