Class AssumeRoleCredentialProvider
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.common.aws.v3.AssumeRoleCredentialProvider
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AssumeRoleCredentialProviderOrBuilder,Serializable
public final class AssumeRoleCredentialProvider
extends com.google.protobuf.GeneratedMessageV3
implements AssumeRoleCredentialProviderOrBuilder
Configuration to use `AssumeRole <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_ for retrieving new credentials, via role chaining. [#next-free-field: 6]Protobuf type
envoy.extensions.common.aws.v3.AssumeRoleCredentialProvider- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration to use `AssumeRole <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_ for retrieving new credentials, via role chaining.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 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 credential provider for signing the AssumeRole request.The credential provider for signing the AssumeRole request.static AssumeRoleCredentialProviderstatic final com.google.protobuf.Descriptors.DescriptorOptional string value to use as the externalIdcom.google.protobuf.ByteStringOptional string value to use as the externalIdcom.google.protobuf.Parser<AssumeRoleCredentialProvider>The ARN of the role to assume.com.google.protobuf.ByteStringThe ARN of the role to assume.An optional role session name, used when identifying the role in subsequent AWS API calls.com.google.protobuf.ByteStringAn optional role session name, used when identifying the role in subsequent AWS API calls.intcom.google.protobuf.DurationAn optional duration, in seconds, of the role session.com.google.protobuf.DurationOrBuilderAn optional duration, in seconds, of the role session.booleanThe credential provider for signing the AssumeRole request.inthashCode()booleanAn optional duration, in seconds, of the role session.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(AssumeRoleCredentialProvider prototype) protected AssumeRoleCredentialProvider.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AssumeRoleCredentialProviderparseDelimitedFrom(InputStream input) static AssumeRoleCredentialProviderparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssumeRoleCredentialProviderparseFrom(byte[] data) static AssumeRoleCredentialProviderparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssumeRoleCredentialProviderparseFrom(com.google.protobuf.ByteString data) static AssumeRoleCredentialProviderparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssumeRoleCredentialProviderparseFrom(com.google.protobuf.CodedInputStream input) static AssumeRoleCredentialProviderparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssumeRoleCredentialProviderparseFrom(InputStream input) static AssumeRoleCredentialProviderparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AssumeRoleCredentialProviderparseFrom(ByteBuffer data) static AssumeRoleCredentialProviderparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AssumeRoleCredentialProvider>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
-
ROLE_ARN_FIELD_NUMBER
public static final int ROLE_ARN_FIELD_NUMBER- See Also:
-
ROLE_SESSION_NAME_FIELD_NUMBER
public static final int ROLE_SESSION_NAME_FIELD_NUMBER- See Also:
-
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER- See Also:
-
SESSION_DURATION_FIELD_NUMBER
public static final int SESSION_DURATION_FIELD_NUMBER- See Also:
-
CREDENTIAL_PROVIDER_FIELD_NUMBER
public static final int CREDENTIAL_PROVIDER_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
-
getRoleArn
The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Specified by:
getRoleArnin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The roleArn.
-
getRoleArnBytes
public com.google.protobuf.ByteString getRoleArnBytes()The ARN of the role to assume.
string role_arn = 1 [(.validate.rules) = { ... }- Specified by:
getRoleArnBytesin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The bytes for roleArn.
-
getRoleSessionName
An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Specified by:
getRoleSessionNamein interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The roleSessionName.
-
getRoleSessionNameBytes
public com.google.protobuf.ByteString getRoleSessionNameBytes()An optional role session name, used when identifying the role in subsequent AWS API calls. If not provided, the role session name will default to the current timestamp.
string role_session_name = 2;- Specified by:
getRoleSessionNameBytesin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The bytes for roleSessionName.
-
getExternalId
Optional string value to use as the externalId
string external_id = 3;- Specified by:
getExternalIdin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()Optional string value to use as the externalId
string external_id = 3;- Specified by:
getExternalIdBytesin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The bytes for externalId.
-
hasSessionDuration
public boolean hasSessionDuration()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... }- Specified by:
hasSessionDurationin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- Whether the sessionDuration field is set.
-
getSessionDuration
public com.google.protobuf.Duration getSessionDuration()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... }- Specified by:
getSessionDurationin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The sessionDuration.
-
getSessionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getSessionDurationOrBuilder()An optional duration, in seconds, of the role session. Minimum role duration is 900s (5 minutes) and maximum is 43200s (12 hours). If the session duration is not provided, the default will be determined using the `table described here <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage-assume.html>`_.
.google.protobuf.Duration session_duration = 4 [(.validate.rules) = { ... }- Specified by:
getSessionDurationOrBuilderin interfaceAssumeRoleCredentialProviderOrBuilder
-
hasCredentialProvider
public boolean hasCredentialProvider()The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5;- Specified by:
hasCredentialProviderin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- Whether the credentialProvider field is set.
-
getCredentialProvider
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5;- Specified by:
getCredentialProviderin interfaceAssumeRoleCredentialProviderOrBuilder- Returns:
- The credentialProvider.
-
getCredentialProviderOrBuilder
The credential provider for signing the AssumeRole request. This is optional and if not set, it will be retrieved from the procedure described in :ref:`config_http_filters_aws_request_signing`. This list of credential providers cannot include an AssumeRole credential provider and if one is provided it will be ignored.
.envoy.extensions.common.aws.v3.AwsCredentialProvider credential_provider = 5;- Specified by:
getCredentialProviderOrBuilderin interfaceAssumeRoleCredentialProviderOrBuilder
-
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 AssumeRoleCredentialProvider parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AssumeRoleCredentialProvider parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AssumeRoleCredentialProvider parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AssumeRoleCredentialProvider 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
public static AssumeRoleCredentialProvider.Builder newBuilder(AssumeRoleCredentialProvider prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AssumeRoleCredentialProvider.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
-