Class AwsCredentialProvider
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.common.aws.v3.AwsCredentialProvider
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AwsCredentialProviderOrBuilder,Serializable
public final class AwsCredentialProvider
extends com.google.protobuf.GeneratedMessageV3
implements AwsCredentialProviderOrBuilder
Configuration for AWS credential provider. This is optional and the credentials are normally retrieved from the environment or AWS configuration files by following the default credential provider chain. However, this configuration can be used to override the default behavior.Protobuf type
envoy.extensions.common.aws.v3.AwsCredentialProvider- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for AWS credential provider.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.booleanCreate a custom credential provider chain instead of the default credential provider chain.static AwsCredentialProviderstatic final com.google.protobuf.Descriptors.DescriptorThe option to use an inline credential.The option to use an inline credential.com.google.protobuf.Parser<AwsCredentialProvider>intbooleanThe option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.booleanThe option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.inthashCode()booleanThe option to use an inline credential.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(AwsCredentialProvider prototype) protected AwsCredentialProvider.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AwsCredentialProviderparseDelimitedFrom(InputStream input) static AwsCredentialProviderparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AwsCredentialProviderparseFrom(byte[] data) static AwsCredentialProviderparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AwsCredentialProviderparseFrom(com.google.protobuf.ByteString data) static AwsCredentialProviderparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AwsCredentialProviderparseFrom(com.google.protobuf.CodedInputStream input) static AwsCredentialProviderparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AwsCredentialProviderparseFrom(InputStream input) static AwsCredentialProviderparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AwsCredentialProviderparseFrom(ByteBuffer data) static AwsCredentialProviderparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AwsCredentialProvider>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ASSUME_ROLE_WITH_WEB_IDENTITY_PROVIDER_FIELD_NUMBER
public static final int ASSUME_ROLE_WITH_WEB_IDENTITY_PROVIDER_FIELD_NUMBER- See Also:
-
INLINE_CREDENTIAL_FIELD_NUMBER
public static final int INLINE_CREDENTIAL_FIELD_NUMBER- See Also:
-
CREDENTIALS_FILE_PROVIDER_FIELD_NUMBER
public static final int CREDENTIALS_FILE_PROVIDER_FIELD_NUMBER- See Also:
-
CUSTOM_CREDENTIAL_PROVIDER_CHAIN_FIELD_NUMBER
public static final int CUSTOM_CREDENTIAL_PROVIDER_CHAIN_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasAssumeRoleWithWebIdentityProvider
public boolean hasAssumeRoleWithWebIdentityProvider()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1;- Specified by:
hasAssumeRoleWithWebIdentityProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- Whether the assumeRoleWithWebIdentityProvider field is set.
-
getAssumeRoleWithWebIdentityProvider
The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1;- Specified by:
getAssumeRoleWithWebIdentityProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- The assumeRoleWithWebIdentityProvider.
-
getAssumeRoleWithWebIdentityProviderOrBuilder
public AssumeRoleWithWebIdentityCredentialProviderOrBuilder getAssumeRoleWithWebIdentityProviderOrBuilder()The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
.envoy.extensions.common.aws.v3.AssumeRoleWithWebIdentityCredentialProvider assume_role_with_web_identity_provider = 1;- Specified by:
getAssumeRoleWithWebIdentityProviderOrBuilderin interfaceAwsCredentialProviderOrBuilder
-
hasInlineCredential
public boolean hasInlineCredential()The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2;- Specified by:
hasInlineCredentialin interfaceAwsCredentialProviderOrBuilder- Returns:
- Whether the inlineCredential field is set.
-
getInlineCredential
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2;- Specified by:
getInlineCredentialin interfaceAwsCredentialProviderOrBuilder- Returns:
- The inlineCredential.
-
getInlineCredentialOrBuilder
The option to use an inline credential. If inline credential is provided, no chain will be created and only the inline credential will be used.
.envoy.extensions.common.aws.v3.InlineCredentialProvider inline_credential = 2;- Specified by:
getInlineCredentialOrBuilderin interfaceAwsCredentialProviderOrBuilder
-
hasCredentialsFileProvider
public boolean hasCredentialsFileProvider()The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3;- Specified by:
hasCredentialsFileProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- Whether the credentialsFileProvider field is set.
-
getCredentialsFileProvider
The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3;- Specified by:
getCredentialsFileProviderin interfaceAwsCredentialProviderOrBuilder- Returns:
- The credentialsFileProvider.
-
getCredentialsFileProviderOrBuilder
The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
.envoy.extensions.common.aws.v3.CredentialsFileCredentialProvider credentials_file_provider = 3;- Specified by:
getCredentialsFileProviderOrBuilderin interfaceAwsCredentialProviderOrBuilder
-
getCustomCredentialProviderChain
public boolean getCustomCredentialProviderChain()Create a custom credential provider chain instead of the default credential provider chain. If set to TRUE, the credential provider chain that is created contains only those set in this credential provider message. If set to FALSE, the settings provided here will act as modifiers to the default credential provider chain. Defaults to FALSE. This has no effect if inline_credential is provided.
bool custom_credential_provider_chain = 4;- Specified by:
getCustomCredentialProviderChainin interfaceAwsCredentialProviderOrBuilder- Returns:
- The customCredentialProviderChain.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AwsCredentialProvider parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsCredentialProvider parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsCredentialProvider parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsCredentialProvider parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsCredentialProvider parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AwsCredentialProvider parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AwsCredentialProvider parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AwsCredentialProvider parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AwsCredentialProvider parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AwsCredentialProvider parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AwsCredentialProvider.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-