Skip to content

Proposal: CLI command checking missing secrets against environments #605

Open
@pksieminski

Description

@pksieminski

General idea is to use this new command in GitHub Workflows, which would allow us to check PR before merge if all secrets for development and production environments are properly set in Encore.

Right now it is possible to get very late feedback loop if for example you set the secrets only on development environment and after some time you deploy to production, where it fails on deploy step.

With new command, which would list missing secrets & error if any is missing:
encore secret check [envs...]

Example usage:

encore secret check prod dev
Secret Key Production   Development 
MySecret   ✗                   ✓

Error: There is 1 secret missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions