-
Notifications
You must be signed in to change notification settings - Fork 1
feat(apikey): support custom metadata in token #134
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
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.
Pull Request Overview
This PR adds support for custom metadata in API key tokens. The change allows users to include custom key-value pairs in the API key configuration that will be embedded in the generated token.
- Adds
customized_metadatafield to both API key resource and data source schemas - Updates dependency versions in go.mod
- Provides example usage in the terraform configuration
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates various dependency versions to support the new functionality |
| examples/apikey/main.tf | Demonstrates usage of the new customized_metadata field |
| cloud/resource_apikey.go | Implements create and read operations for custom metadata |
| cloud/provider.go | Adds description for the new customized_metadata field |
| cloud/data_source_apikey.go | Adds custom metadata support to the data source |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
Pull Request Overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Motivation
Support custom metadata in the token.