Skip to content

stripe listen "the CLI only supports using a secret or restricted key" error #512

@aljosa

Description

@aljosa

Issue

I've successfully installed stripe with apt, used stripe login to get the tokens/secrets and the stripe config --list shows that everything is there (keys start with "rk_").
When I run stripe listen I get the CLI only supports using a secret or restricted key.

Expected Behavior

Output should be something like:

> Ready! Your webhook signing secret is "-secret-" (^C to quit)

Steps to reproduce

I've also tried to download stripe_1.5.1_linux_x86_64.tar.gz (and 1.5.2) from releases page but the output is the same error.

Environment

Linux pop-os/ubuntu:

$ cat /etc/lsb-release
DISTRIB_ID=Pop
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Pop!_OS 20.04 LTS"

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