Generate GraphQL tokens from CLI #9930
-
In order to better support automated CI/CD it would be very desirable to be able to create tokens for specific schemas using the CLI. As of today this can only be done through the control panel and as project config does not include tokens this makes deploying a GraphQL token/schema enabled setup require a manual step. |
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
Oct 5, 2021
Replies: 1 comment 2 replies
-
Good idea! Just released Craft 3.7.15 with a new |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
brandonkelly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good idea! Just released Craft 3.7.15 with a new
graphql/create-token
command. There’s also a newgraphql/list-schemas
command to make it easy to discover the appropriate schema UID to use with it.