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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.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:
      hasAssumeRoleWithWebIdentityProvider in interface AwsCredentialProviderOrBuilder
      Returns:
      Whether the assumeRoleWithWebIdentityProvider field is set.
    • getAssumeRoleWithWebIdentityProvider

      public AssumeRoleWithWebIdentityCredentialProvider 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:
      getAssumeRoleWithWebIdentityProvider in interface AwsCredentialProviderOrBuilder
      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:
      getAssumeRoleWithWebIdentityProviderOrBuilder in interface AwsCredentialProviderOrBuilder
    • 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:
      hasInlineCredential in interface AwsCredentialProviderOrBuilder
      Returns:
      Whether the inlineCredential field is set.
    • getInlineCredential

      public InlineCredentialProvider 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:
      getInlineCredential in interface AwsCredentialProviderOrBuilder
      Returns:
      The inlineCredential.
    • getInlineCredentialOrBuilder

      public InlineCredentialProviderOrBuilder 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:
      getInlineCredentialOrBuilder in interface AwsCredentialProviderOrBuilder
    • 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:
      hasCredentialsFileProvider in interface AwsCredentialProviderOrBuilder
      Returns:
      Whether the credentialsFileProvider field is set.
    • getCredentialsFileProvider

      public CredentialsFileCredentialProvider 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:
      getCredentialsFileProvider in interface AwsCredentialProviderOrBuilder
      Returns:
      The credentialsFileProvider.
    • getCredentialsFileProviderOrBuilder

      public CredentialsFileCredentialProviderOrBuilder 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:
      getCredentialsFileProviderOrBuilder in interface AwsCredentialProviderOrBuilder
    • 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:
      getCustomCredentialProviderChain in interface AwsCredentialProviderOrBuilder
      Returns:
      The customCredentialProviderChain.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static AwsCredentialProvider parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AwsCredentialProvider parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AwsCredentialProvider parseDelimitedFrom(InputStream input) throws IOException
      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

      public AwsCredentialProvider.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AwsCredentialProvider.Builder newBuilder()
    • newBuilder

      public static AwsCredentialProvider.Builder newBuilder(AwsCredentialProvider prototype)
    • toBuilder

      public AwsCredentialProvider.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AwsCredentialProvider.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AwsCredentialProvider getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AwsCredentialProvider> parser()
    • getParserForType

      public com.google.protobuf.Parser<AwsCredentialProvider> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AwsCredentialProvider getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder