Skip to content

Accept empty .env keys #87

@bilogic

Description

@bilogic
$ infisical secrets set --file .env --env=staging
Secret key 'AWS_ACCESS_KEY_ID' has an empty value

Problem

A message like this is vague... is it a warning, info or error?

What actually happened

It did not try to set any key in the whole .env

What should happen

  1. The output should indicate how many keys were set
  2. It should also allow empty keys in .env and just set value as empty since the UI allows empty values

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