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

Add UUID to api keys #7972

Merged
merged 3 commits into from Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/v1.14.0-beta16/add-uuid-to-apikeys.yaml
@@ -0,0 +1,5 @@
changelog:
- type: NON_USER_FACING
issueLink: https://github.com/solo-io/gloo-mesh-enterprise/issues/7756
resolvesIssue: false
description: Add uuid property to Api Keys, used as an identifier for Hashed Api Keys

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -977,6 +977,8 @@ message ApiKey {
repeated string labels = 3;
// additional data the client needs associated with this API key
map<string, string> metadata = 4;
// Optional: Unique identifier for the API key
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashleywang1 can we use here an annotation to hide this from the public docs as this is an implementation detail for storing this info in the storage?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbohanon asked in gloo-platform-core and this doesn't seem to be supported

string uuid = 5;
jbohanon marked this conversation as resolved.
Show resolved Hide resolved
}

// DEPRECATED: use ApiKey
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,390 changes: 700 additions & 690 deletions projects/gloo/pkg/api/v1/enterprise/options/extauth/v1/extauth.pb.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.