Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

command to list secrets for a worker #909

Closed
ashleymichal opened this issue Nov 26, 2019 · 2 comments · Fixed by #1045
Closed

command to list secrets for a worker #909

ashleymichal opened this issue Nov 26, 2019 · 2 comments · Fixed by #1045
Labels
feature Feature requests and suggestions regression Something is broken, but works in previous releases

Comments

@ashleymichal
Copy link
Contributor

ashleymichal commented Nov 26, 2019

wrangler should support a command that allows the user to view a list of secret bindings configured on their worker.

Syntax

$ wrangler secret:list

this command should support the environment flag; when not present, the command should list secrets bound to the top level worker. when present, the command should list secrets bound to the worker specified in the env.

Depends on

add endpoint definition to cloudflare-rs for calling the GET script bindings endpoint

@ashleymichal ashleymichal added feature Feature requests and suggestions regression Something is broken, but works in previous releases subject - secrets labels Nov 26, 2019
@ashleymichal ashleymichal added this to the Wrangler Secret support milestone Nov 26, 2019
@ashleymichal ashleymichal added cross-team - cloudflare-rs and removed regression Something is broken, but works in previous releases labels Nov 26, 2019
@exvuma
Copy link
Contributor

exvuma commented Nov 26, 2019

Maybe add a note on whether env scoping will be supported (I think it's overkill for list)

@ashleymichal
Copy link
Contributor Author

Maybe add a note on whether env scoping will be supported (I think it's overkill for list)

actually env scoping will be necessary, since every env is its own script

@ashleymichal ashleymichal linked a pull request Feb 11, 2020 that will close this issue
@ashleymichal ashleymichal added status - PR attached regression Something is broken, but works in previous releases and removed cross-team - cloudflare-rs labels Feb 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature requests and suggestions regression Something is broken, but works in previous releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants