Interface ApiKeyAuthPerRouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApiKeyAuthPerRoute,ApiKeyAuthPerRoute.Builder
public interface ApiKeyAuthPerRouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedClients(int index) A list of clients that are allowed to access the route or vhost.com.google.protobuf.ByteStringgetAllowedClientsBytes(int index) A list of clients that are allowed to access the route or vhost.intA list of clients that are allowed to access the route or vhost.A list of clients that are allowed to access the route or vhost.getCredentials(int index) The credentials that are used to authenticate the clients.intThe credentials that are used to authenticate the clients.The credentials that are used to authenticate the clients.getCredentialsOrBuilder(int index) The credentials that are used to authenticate the clients.List<? extends CredentialOrBuilder>The credentials that are used to authenticate the clients.Optional configuration to control what information should be propagated to upstream services.Optional configuration to control what information should be propagated to upstream services.getKeySources(int index) The key sources to fetch the key from the coming request.intThe key sources to fetch the key from the coming request.The key sources to fetch the key from the coming request.getKeySourcesOrBuilder(int index) The key sources to fetch the key from the coming request.List<? extends KeySourceOrBuilder>The key sources to fetch the key from the coming request.booleanOptional configuration to control what information should be propagated to upstream services.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCredentialsList
List<Credential> getCredentialsList()The credentials that are used to authenticate the clients. If this field is non-empty, then the credentials in the filter level configuration will be ignored and the credentials in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.Credential credentials = 1 [(.udpa.annotations.sensitive) = true]; -
getCredentials
The credentials that are used to authenticate the clients. If this field is non-empty, then the credentials in the filter level configuration will be ignored and the credentials in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.Credential credentials = 1 [(.udpa.annotations.sensitive) = true]; -
getCredentialsCount
int getCredentialsCount()The credentials that are used to authenticate the clients. If this field is non-empty, then the credentials in the filter level configuration will be ignored and the credentials in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.Credential credentials = 1 [(.udpa.annotations.sensitive) = true]; -
getCredentialsOrBuilderList
List<? extends CredentialOrBuilder> getCredentialsOrBuilderList()The credentials that are used to authenticate the clients. If this field is non-empty, then the credentials in the filter level configuration will be ignored and the credentials in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.Credential credentials = 1 [(.udpa.annotations.sensitive) = true]; -
getCredentialsOrBuilder
The credentials that are used to authenticate the clients. If this field is non-empty, then the credentials in the filter level configuration will be ignored and the credentials in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.Credential credentials = 1 [(.udpa.annotations.sensitive) = true]; -
getKeySourcesList
The key sources to fetch the key from the coming request. If this field is non-empty, then the key sources in the filter level configuration will be ignored and the key sources in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.KeySource key_sources = 2; -
getKeySources
The key sources to fetch the key from the coming request. If this field is non-empty, then the key sources in the filter level configuration will be ignored and the key sources in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.KeySource key_sources = 2; -
getKeySourcesCount
int getKeySourcesCount()The key sources to fetch the key from the coming request. If this field is non-empty, then the key sources in the filter level configuration will be ignored and the key sources in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.KeySource key_sources = 2; -
getKeySourcesOrBuilderList
List<? extends KeySourceOrBuilder> getKeySourcesOrBuilderList()The key sources to fetch the key from the coming request. If this field is non-empty, then the key sources in the filter level configuration will be ignored and the key sources in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.KeySource key_sources = 2; -
getKeySourcesOrBuilder
The key sources to fetch the key from the coming request. If this field is non-empty, then the key sources in the filter level configuration will be ignored and the key sources in this configuration will be used.
repeated .envoy.extensions.filters.http.api_key_auth.v3.KeySource key_sources = 2; -
getAllowedClientsList
A list of clients that are allowed to access the route or vhost. The clients listed here should be subset of the clients listed in the ``credentials`` to provide authorization control after the authentication is successful. If the list is empty, then all authenticated clients are allowed. This provides very limited but simple authorization. If more complex authorization is required, then use the :ref:`HTTP RBAC filter <config_http_filters_rbac>` instead. .. note:: Setting this field and ``credentials`` at the same configuration entry is not an error but also makes no much sense because they provide similar functionality. Please only use one of them at same configuration entry except for the case that you want to share the same credentials list across multiple routes but still use different allowed clients for each route.
repeated string allowed_clients = 3;- Returns:
- A list containing the allowedClients.
-
getAllowedClientsCount
int getAllowedClientsCount()A list of clients that are allowed to access the route or vhost. The clients listed here should be subset of the clients listed in the ``credentials`` to provide authorization control after the authentication is successful. If the list is empty, then all authenticated clients are allowed. This provides very limited but simple authorization. If more complex authorization is required, then use the :ref:`HTTP RBAC filter <config_http_filters_rbac>` instead. .. note:: Setting this field and ``credentials`` at the same configuration entry is not an error but also makes no much sense because they provide similar functionality. Please only use one of them at same configuration entry except for the case that you want to share the same credentials list across multiple routes but still use different allowed clients for each route.
repeated string allowed_clients = 3;- Returns:
- The count of allowedClients.
-
getAllowedClients
A list of clients that are allowed to access the route or vhost. The clients listed here should be subset of the clients listed in the ``credentials`` to provide authorization control after the authentication is successful. If the list is empty, then all authenticated clients are allowed. This provides very limited but simple authorization. If more complex authorization is required, then use the :ref:`HTTP RBAC filter <config_http_filters_rbac>` instead. .. note:: Setting this field and ``credentials`` at the same configuration entry is not an error but also makes no much sense because they provide similar functionality. Please only use one of them at same configuration entry except for the case that you want to share the same credentials list across multiple routes but still use different allowed clients for each route.
repeated string allowed_clients = 3;- Parameters:
index- The index of the element to return.- Returns:
- The allowedClients at the given index.
-
getAllowedClientsBytes
com.google.protobuf.ByteString getAllowedClientsBytes(int index) A list of clients that are allowed to access the route or vhost. The clients listed here should be subset of the clients listed in the ``credentials`` to provide authorization control after the authentication is successful. If the list is empty, then all authenticated clients are allowed. This provides very limited but simple authorization. If more complex authorization is required, then use the :ref:`HTTP RBAC filter <config_http_filters_rbac>` instead. .. note:: Setting this field and ``credentials`` at the same configuration entry is not an error but also makes no much sense because they provide similar functionality. Please only use one of them at same configuration entry except for the case that you want to share the same credentials list across multiple routes but still use different allowed clients for each route.
repeated string allowed_clients = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedClients at the given index.
-
hasForwarding
boolean hasForwarding()Optional configuration to control what information should be propagated to upstream services. If this field is non-empty, then the forwarding information in the filter level configuration will be ignored and the forwarding in this configuration will be used.
.envoy.extensions.filters.http.api_key_auth.v3.Forwarding forwarding = 4;- Returns:
- Whether the forwarding field is set.
-
getForwarding
Forwarding getForwarding()Optional configuration to control what information should be propagated to upstream services. If this field is non-empty, then the forwarding information in the filter level configuration will be ignored and the forwarding in this configuration will be used.
.envoy.extensions.filters.http.api_key_auth.v3.Forwarding forwarding = 4;- Returns:
- The forwarding.
-
getForwardingOrBuilder
ForwardingOrBuilder getForwardingOrBuilder()Optional configuration to control what information should be propagated to upstream services. If this field is non-empty, then the forwarding information in the filter level configuration will be ignored and the forwarding in this configuration will be used.
.envoy.extensions.filters.http.api_key_auth.v3.Forwarding forwarding = 4;
-