forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws: update credential provider proto and support credential file rel…
…oad (envoyproxy#37834) Commit Message: aws: update credential provider proto and support credential file reload Additional Description: Allows for customisation of the credential provider settings, using the credential provider proto added in envoyproxy#36217 Risk Level: Low Testing: Unit Docs Changes: Updated Release Notes: Updated Platform Specific Features: [Optional Runtime guard:] [Optional Fixes #Issue] Addresses envoyproxy#36769 and partially addresses envoyproxy#37432 [Optional Fixes commit #PR or SHA] [Optional Deprecated:] [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] --------- Signed-off-by: Nigel Brittain <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,124 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
...ion/http/http_filters/_include/aws-request-signing-filter-credential-provider-config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
static_resources: | ||
listeners: | ||
- address: | ||
socket_address: | ||
address: 0.0.0.0 | ||
port_value: 10000 | ||
filter_chains: | ||
- filters: | ||
- name: envoy.filters.network.http_connection_manager | ||
typed_config: | ||
'@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager | ||
stat_prefix: ingress_http | ||
http_filters: | ||
- name: envoy.filters.http.router | ||
typed_config: | ||
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router | ||
route_config: | ||
name: local_route | ||
virtual_hosts: | ||
- domains: | ||
- '*' | ||
name: local_service | ||
routes: | ||
- match: {prefix: "/"} | ||
route: {cluster: default_service} | ||
clusters: | ||
- name: default_service | ||
load_assignment: | ||
cluster_name: default_service | ||
endpoints: | ||
- lb_endpoints: | ||
- endpoint: | ||
address: | ||
socket_address: | ||
address: 127.0.0.1 | ||
port_value: 10001 | ||
typed_extension_protocol_options: | ||
envoy.extensions.upstreams.http.v3.HttpProtocolOptions: | ||
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions | ||
upstream_http_protocol_options: | ||
auto_sni: true | ||
auto_san_validation: true | ||
auto_config: | ||
http2_protocol_options: {} | ||
http_filters: | ||
- name: envoy.filters.http.aws_request_signing | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.http.aws_request_signing.v3.AwsRequestSigning | ||
credential_provider: | ||
custom_credential_provider_chain: true | ||
credentials_file_provider: | ||
credentials_data_source: | ||
filename: /tmp/a | ||
watched_directory: | ||
path: /tmp | ||
service_name: vpc-lattice-svcs | ||
region: '*' | ||
signing_algorithm: AWS_SIGV4A | ||
use_unsigned_payload: true | ||
match_excluded_headers: | ||
- prefix: x-envoy | ||
- prefix: x-forwarded | ||
- exact: x-amzn-trace-id | ||
- name: envoy.filters.http.upstream_codec | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.filters.http.upstream_codec.v3.UpstreamCodec | ||
transport_socket: | ||
name: envoy.transport_sockets.tls | ||
typed_config: | ||
"@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.