Class ApiKeyAuthPerRoute.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
io.envoyproxy.envoy.extensions.filters.http.api_key_auth.v3.ApiKeyAuthPerRoute.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ApiKeyAuthPerRouteOrBuilder,Cloneable
- Enclosing class:
- ApiKeyAuthPerRoute
public static final class ApiKeyAuthPerRoute.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
implements ApiKeyAuthPerRouteOrBuilder
API key auth configuration of per route or per virtual host or per route configuration.Protobuf type
envoy.extensions.filters.http.api_key_auth.v3.ApiKeyAuthPerRoute-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedClients(Iterable<String> values) A list of clients that are allowed to access the route or vhost.addAllCredentials(Iterable<? extends Credential> values) The credentials that are used to authenticate the clients.addAllKeySources(Iterable<? extends KeySource> values) The key sources to fetch the key from the coming request.addAllowedClients(String value) A list of clients that are allowed to access the route or vhost.addAllowedClientsBytes(com.google.protobuf.ByteString value) A list of clients that are allowed to access the route or vhost.addCredentials(int index, Credential value) The credentials that are used to authenticate the clients.addCredentials(int index, Credential.Builder builderForValue) The credentials that are used to authenticate the clients.addCredentials(Credential value) The credentials that are used to authenticate the clients.addCredentials(Credential.Builder builderForValue) The credentials that are used to authenticate the clients.The credentials that are used to authenticate the clients.addCredentialsBuilder(int index) The credentials that are used to authenticate the clients.addKeySources(int index, KeySource value) The key sources to fetch the key from the coming request.addKeySources(int index, KeySource.Builder builderForValue) The key sources to fetch the key from the coming request.addKeySources(KeySource value) The key sources to fetch the key from the coming request.addKeySources(KeySource.Builder builderForValue) The key sources to fetch the key from the coming request.The key sources to fetch the key from the coming request.addKeySourcesBuilder(int index) The key sources to fetch the key from the coming request.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()A list of clients that are allowed to access the route or vhost.The credentials that are used to authenticate the clients.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional configuration to control what information should be propagated to upstream services.The key sources to fetch the key from the coming request.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getAllowedClients(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.com.google.protobuf.ProtocolStringListA list of clients that are allowed to access the route or vhost.getCredentials(int index) The credentials that are used to authenticate the clients.getCredentialsBuilder(int index) The credentials that are used to authenticate the clients.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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional configuration to control what information should be propagated to upstream services.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.getKeySourcesBuilder(int index) The key sources to fetch the key from the coming request.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeForwarding(Forwarding value) Optional configuration to control what information should be propagated to upstream services.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ApiKeyAuthPerRoute other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeCredentials(int index) The credentials that are used to authenticate the clients.removeKeySources(int index) The key sources to fetch the key from the coming request.setAllowedClients(int index, String value) A list of clients that are allowed to access the route or vhost.setCredentials(int index, Credential value) The credentials that are used to authenticate the clients.setCredentials(int index, Credential.Builder builderForValue) The credentials that are used to authenticate the clients.setForwarding(Forwarding value) Optional configuration to control what information should be propagated to upstream services.setForwarding(Forwarding.Builder builderForValue) Optional configuration to control what information should be propagated to upstream services.setKeySources(int index, KeySource value) The key sources to fetch the key from the coming request.setKeySources(int index, KeySource.Builder builderForValue) The key sources to fetch the key from the coming request.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
setField
public ApiKeyAuthPerRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
setRepeatedField
public ApiKeyAuthPerRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
addRepeatedField
public ApiKeyAuthPerRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApiKeyAuthPerRoute.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
mergeFrom
public ApiKeyAuthPerRoute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApiKeyAuthPerRoute.Builder>- Throws:
IOException
-
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];- Specified by:
getCredentialsListin interfaceApiKeyAuthPerRouteOrBuilder
-
getCredentialsCount
public 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];- Specified by:
getCredentialsCountin interfaceApiKeyAuthPerRouteOrBuilder
-
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];- Specified by:
getCredentialsin interfaceApiKeyAuthPerRouteOrBuilder
-
setCredentials
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]; -
setCredentials
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]; -
addCredentials
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]; -
addCredentials
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]; -
addCredentials
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]; -
addCredentials
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]; -
addAllCredentials
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]; -
clearCredentials
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]; -
removeCredentials
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]; -
getCredentialsBuilder
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];- Specified by:
getCredentialsOrBuilderin interfaceApiKeyAuthPerRouteOrBuilder
-
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];- Specified by:
getCredentialsOrBuilderListin interfaceApiKeyAuthPerRouteOrBuilder
-
addCredentialsBuilder
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]; -
addCredentialsBuilder
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]; -
getCredentialsBuilderList
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;- Specified by:
getKeySourcesListin interfaceApiKeyAuthPerRouteOrBuilder
-
getKeySourcesCount
public 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;- Specified by:
getKeySourcesCountin interfaceApiKeyAuthPerRouteOrBuilder
-
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;- Specified by:
getKeySourcesin interfaceApiKeyAuthPerRouteOrBuilder
-
setKeySources
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; -
setKeySources
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; -
addKeySources
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; -
addKeySources
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; -
addKeySources
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; -
addKeySources
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; -
addAllKeySources
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; -
clearKeySources
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; -
removeKeySources
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; -
getKeySourcesBuilder
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;- Specified by:
getKeySourcesOrBuilderin interfaceApiKeyAuthPerRouteOrBuilder
-
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;- Specified by:
getKeySourcesOrBuilderListin interfaceApiKeyAuthPerRouteOrBuilder
-
addKeySourcesBuilder
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; -
addKeySourcesBuilder
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; -
getKeySourcesBuilderList
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
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getAllowedClientsListin interfaceApiKeyAuthPerRouteOrBuilder- Returns:
- A list containing the allowedClients.
-
getAllowedClientsCount
public 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;- Specified by:
getAllowedClientsCountin interfaceApiKeyAuthPerRouteOrBuilder- 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;- Specified by:
getAllowedClientsin interfaceApiKeyAuthPerRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedClients at the given index.
-
getAllowedClientsBytes
public 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;- Specified by:
getAllowedClientsBytesin interfaceApiKeyAuthPerRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedClients at the given index.
-
setAllowedClients
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 to set the value at.value- The allowedClients to set.- Returns:
- This builder for chaining.
-
addAllowedClients
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:
value- The allowedClients to add.- Returns:
- This builder for chaining.
-
addAllAllowedClients
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:
values- The allowedClients to add.- Returns:
- This builder for chaining.
-
clearAllowedClients
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:
- This builder for chaining.
-
addAllowedClientsBytes
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:
value- The bytes of the allowedClients to add.- Returns:
- This builder for chaining.
-
hasForwarding
public 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;- Specified by:
hasForwardingin interfaceApiKeyAuthPerRouteOrBuilder- Returns:
- Whether the forwarding field is set.
-
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;- Specified by:
getForwardingin interfaceApiKeyAuthPerRouteOrBuilder- Returns:
- The forwarding.
-
setForwarding
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; -
setForwarding
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; -
mergeForwarding
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; -
clearForwarding
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; -
getForwardingBuilder
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; -
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;- Specified by:
getForwardingOrBuilderin interfaceApiKeyAuthPerRouteOrBuilder
-
setUnknownFields
public final ApiKeyAuthPerRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-
mergeUnknownFields
public final ApiKeyAuthPerRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApiKeyAuthPerRoute.Builder>
-