Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datasette create-token CLI command #1859

Closed
Tracked by #1850
simonw opened this issue Oct 26, 2022 · 3 comments
Closed
Tracked by #1850

datasette create-token CLI command #1859

simonw opened this issue Oct 26, 2022 · 3 comments

Comments

@simonw
Copy link
Owner

simonw commented Oct 26, 2022

The CLI equivalent of the /-/create-token page.

@simonw
Copy link
Owner Author

simonw commented Oct 26, 2022

Initial design:

datasette create-token <id>

Or:

datasette create-token <id> --expire-after 10m

@simonw
Copy link
Owner Author

simonw commented Oct 26, 2022

Reads from DATASETTE_SECRET or accepts --secret for the signing secret.

@simonw simonw closed this as completed Oct 26, 2022
@simonw simonw modified the milestones: Datasette 1.0, Datasette 1.0a0 Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant