-
-
Notifications
You must be signed in to change notification settings - Fork 15
feat: resource for project apikey #256
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
Conversation
244a3aa to
6357dae
Compare
savme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution, @tontonrally - this looks great!
I just have a couple of minor comments/questions
savme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition to the provider 👍
Thanks for contributing this, @tontonrally!
* (apikeys_data_source.go): added support for apiKeys * (apikey_resource.go): added support for apikey resource (create, update, delete & import) * (apikey_resource_test.go): added tests for apikey resource * generate docs
chore: generic NullableToString. Handles enum as well
What kind of change does this PR introduce?
feature
What is the current behavior?
apikeys are not listed in datasource
apikey are not supported, we cannot create/delete these type of resources
What is the new behavior?
apikeys are listed in the supabase_apikeys datasource
apikey resource is supported, we can create secret apikey like
Additional context
I needed that feature on my own project and I decided to contribute.
Not sure about the update of keys as it is not supported in the UI but available on the supabase go sdk.