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

Validate Headers from API Key Metadata: add configuration flag #10117

Merged
merged 10 commits into from
Sep 30, 2024
7 changes: 7 additions & 0 deletions changelog/v1.18.0-beta24/validate-apikey-data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changelog:
- type: NON_USER_FACING
issueLink: https://github.com/solo-io/ext-auth-service/issues/762
resolvesIssue: false
description: >-
Updating extauth APIKey config to add 'skipMetadataValidation', which will allow EE users to turn off data plane valdiation
of headers returned by the APIKey service.

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

Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ spec:
additionalProperties:
type: string
type: object
skipMetadataValidation:
type: boolean
type: object
basicAuth:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,8 @@ message ApiKeyAuth {
// to the request.
bool required = 2;
}

bool skip_metadata_validation = 8;
sam-heilbron marked this conversation as resolved.
Show resolved Hide resolved
}
message K8sSecretApiKeyStorage {
// Identify all valid API key secrets that match the provided label selector.<br/>
Expand Down Expand Up @@ -2118,6 +2120,8 @@ message ExtAuthConfig {
K8sSecretApiKeyStorage k8s_secret_apikey_storage = 4;
AerospikeApiKeyStorage aerospike_apikey_storage = 5;
}

bool skip_metadata_validation = 6;
}

message OpaAuthConfig {
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.

Loading
Loading