package awsv3
import "github.com/envoyproxy/go-control-plane/envoy/extensions/common/aws/v3"
Index ¶
- Variables
- type AssumeRoleCredentialProvider
- func (*AssumeRoleCredentialProvider) Descriptor() ([]byte, []int)
- func (x *AssumeRoleCredentialProvider) GetCredentialProvider() *AwsCredentialProvider
- func (x *AssumeRoleCredentialProvider) GetExternalId() string
- func (x *AssumeRoleCredentialProvider) GetRoleArn() string
- func (x *AssumeRoleCredentialProvider) GetRoleSessionName() string
- func (x *AssumeRoleCredentialProvider) GetSessionDuration() *durationpb.Duration
- func (*AssumeRoleCredentialProvider) ProtoMessage()
- func (x *AssumeRoleCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *AssumeRoleCredentialProvider) Reset()
- func (x *AssumeRoleCredentialProvider) String() string
- func (m *AssumeRoleCredentialProvider) Validate() error
- func (m *AssumeRoleCredentialProvider) ValidateAll() error
- type AssumeRoleCredentialProviderMultiError
- func (m AssumeRoleCredentialProviderMultiError) AllErrors() []error
- func (m AssumeRoleCredentialProviderMultiError) Error() string
- type AssumeRoleCredentialProviderValidationError
- func (e AssumeRoleCredentialProviderValidationError) Cause() error
- func (e AssumeRoleCredentialProviderValidationError) Error() string
- func (e AssumeRoleCredentialProviderValidationError) ErrorName() string
- func (e AssumeRoleCredentialProviderValidationError) Field() string
- func (e AssumeRoleCredentialProviderValidationError) Key() bool
- func (e AssumeRoleCredentialProviderValidationError) Reason() string
- type AssumeRoleWithWebIdentityCredentialProvider
- func (*AssumeRoleWithWebIdentityCredentialProvider) Descriptor() ([]byte, []int)
- func (x *AssumeRoleWithWebIdentityCredentialProvider) GetRoleArn() string
- func (x *AssumeRoleWithWebIdentityCredentialProvider) GetRoleSessionName() string
- func (x *AssumeRoleWithWebIdentityCredentialProvider) GetWebIdentityTokenDataSource() *v3.DataSource
- func (*AssumeRoleWithWebIdentityCredentialProvider) ProtoMessage()
- func (x *AssumeRoleWithWebIdentityCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *AssumeRoleWithWebIdentityCredentialProvider) Reset()
- func (x *AssumeRoleWithWebIdentityCredentialProvider) String() string
- func (m *AssumeRoleWithWebIdentityCredentialProvider) Validate() error
- func (m *AssumeRoleWithWebIdentityCredentialProvider) ValidateAll() error
- type AssumeRoleWithWebIdentityCredentialProviderMultiError
- func (m AssumeRoleWithWebIdentityCredentialProviderMultiError) AllErrors() []error
- func (m AssumeRoleWithWebIdentityCredentialProviderMultiError) Error() string
- type AssumeRoleWithWebIdentityCredentialProviderValidationError
- func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Cause() error
- func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Error() string
- func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) ErrorName() string
- func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Field() string
- func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Key() bool
- func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Reason() string
- type AwsCredentialProvider
- func (*AwsCredentialProvider) Descriptor() ([]byte, []int)
- func (x *AwsCredentialProvider) GetAssumeRoleCredentialProvider() *AssumeRoleCredentialProvider
- func (x *AwsCredentialProvider) GetAssumeRoleWithWebIdentityProvider() *AssumeRoleWithWebIdentityCredentialProvider
- func (x *AwsCredentialProvider) GetConfigCredentialProvider() *ConfigCredentialProvider
- func (x *AwsCredentialProvider) GetContainerCredentialProvider() *ContainerCredentialProvider
- func (x *AwsCredentialProvider) GetCredentialsFileProvider() *CredentialsFileCredentialProvider
- func (x *AwsCredentialProvider) GetCustomCredentialProviderChain() bool
- func (x *AwsCredentialProvider) GetEnvironmentCredentialProvider() *EnvironmentCredentialProvider
- func (x *AwsCredentialProvider) GetIamRolesAnywhereCredentialProvider() *IAMRolesAnywhereCredentialProvider
- func (x *AwsCredentialProvider) GetInlineCredential() *InlineCredentialProvider
- func (x *AwsCredentialProvider) GetInstanceProfileCredentialProvider() *InstanceProfileCredentialProvider
- func (*AwsCredentialProvider) ProtoMessage()
- func (x *AwsCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *AwsCredentialProvider) Reset()
- func (x *AwsCredentialProvider) String() string
- func (m *AwsCredentialProvider) Validate() error
- func (m *AwsCredentialProvider) ValidateAll() error
- type AwsCredentialProviderMultiError
- func (m AwsCredentialProviderMultiError) AllErrors() []error
- func (m AwsCredentialProviderMultiError) Error() string
- type AwsCredentialProviderValidationError
- func (e AwsCredentialProviderValidationError) Cause() error
- func (e AwsCredentialProviderValidationError) Error() string
- func (e AwsCredentialProviderValidationError) ErrorName() string
- func (e AwsCredentialProviderValidationError) Field() string
- func (e AwsCredentialProviderValidationError) Key() bool
- func (e AwsCredentialProviderValidationError) Reason() string
- type ConfigCredentialProvider
- func (*ConfigCredentialProvider) Descriptor() ([]byte, []int)
- func (*ConfigCredentialProvider) ProtoMessage()
- func (x *ConfigCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *ConfigCredentialProvider) Reset()
- func (x *ConfigCredentialProvider) String() string
- func (m *ConfigCredentialProvider) Validate() error
- func (m *ConfigCredentialProvider) ValidateAll() error
- type ConfigCredentialProviderMultiError
- func (m ConfigCredentialProviderMultiError) AllErrors() []error
- func (m ConfigCredentialProviderMultiError) Error() string
- type ConfigCredentialProviderValidationError
- func (e ConfigCredentialProviderValidationError) Cause() error
- func (e ConfigCredentialProviderValidationError) Error() string
- func (e ConfigCredentialProviderValidationError) ErrorName() string
- func (e ConfigCredentialProviderValidationError) Field() string
- func (e ConfigCredentialProviderValidationError) Key() bool
- func (e ConfigCredentialProviderValidationError) Reason() string
- type ContainerCredentialProvider
- func (*ContainerCredentialProvider) Descriptor() ([]byte, []int)
- func (*ContainerCredentialProvider) ProtoMessage()
- func (x *ContainerCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *ContainerCredentialProvider) Reset()
- func (x *ContainerCredentialProvider) String() string
- func (m *ContainerCredentialProvider) Validate() error
- func (m *ContainerCredentialProvider) ValidateAll() error
- type ContainerCredentialProviderMultiError
- func (m ContainerCredentialProviderMultiError) AllErrors() []error
- func (m ContainerCredentialProviderMultiError) Error() string
- type ContainerCredentialProviderValidationError
- func (e ContainerCredentialProviderValidationError) Cause() error
- func (e ContainerCredentialProviderValidationError) Error() string
- func (e ContainerCredentialProviderValidationError) ErrorName() string
- func (e ContainerCredentialProviderValidationError) Field() string
- func (e ContainerCredentialProviderValidationError) Key() bool
- func (e ContainerCredentialProviderValidationError) Reason() string
- type CredentialsFileCredentialProvider
- func (*CredentialsFileCredentialProvider) Descriptor() ([]byte, []int)
- func (x *CredentialsFileCredentialProvider) GetCredentialsDataSource() *v3.DataSource
- func (x *CredentialsFileCredentialProvider) GetProfile() string
- func (*CredentialsFileCredentialProvider) ProtoMessage()
- func (x *CredentialsFileCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *CredentialsFileCredentialProvider) Reset()
- func (x *CredentialsFileCredentialProvider) String() string
- func (m *CredentialsFileCredentialProvider) Validate() error
- func (m *CredentialsFileCredentialProvider) ValidateAll() error
- type CredentialsFileCredentialProviderMultiError
- func (m CredentialsFileCredentialProviderMultiError) AllErrors() []error
- func (m CredentialsFileCredentialProviderMultiError) Error() string
- type CredentialsFileCredentialProviderValidationError
- func (e CredentialsFileCredentialProviderValidationError) Cause() error
- func (e CredentialsFileCredentialProviderValidationError) Error() string
- func (e CredentialsFileCredentialProviderValidationError) ErrorName() string
- func (e CredentialsFileCredentialProviderValidationError) Field() string
- func (e CredentialsFileCredentialProviderValidationError) Key() bool
- func (e CredentialsFileCredentialProviderValidationError) Reason() string
- type EnvironmentCredentialProvider
- func (*EnvironmentCredentialProvider) Descriptor() ([]byte, []int)
- func (*EnvironmentCredentialProvider) ProtoMessage()
- func (x *EnvironmentCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *EnvironmentCredentialProvider) Reset()
- func (x *EnvironmentCredentialProvider) String() string
- func (m *EnvironmentCredentialProvider) Validate() error
- func (m *EnvironmentCredentialProvider) ValidateAll() error
- type EnvironmentCredentialProviderMultiError
- func (m EnvironmentCredentialProviderMultiError) AllErrors() []error
- func (m EnvironmentCredentialProviderMultiError) Error() string
- type EnvironmentCredentialProviderValidationError
- func (e EnvironmentCredentialProviderValidationError) Cause() error
- func (e EnvironmentCredentialProviderValidationError) Error() string
- func (e EnvironmentCredentialProviderValidationError) ErrorName() string
- func (e EnvironmentCredentialProviderValidationError) Field() string
- func (e EnvironmentCredentialProviderValidationError) Key() bool
- func (e EnvironmentCredentialProviderValidationError) Reason() string
- type IAMRolesAnywhereCredentialProvider
- func (*IAMRolesAnywhereCredentialProvider) Descriptor() ([]byte, []int)
- func (x *IAMRolesAnywhereCredentialProvider) GetCertificate() *v3.DataSource
- func (x *IAMRolesAnywhereCredentialProvider) GetCertificateChain() *v3.DataSource
- func (x *IAMRolesAnywhereCredentialProvider) GetPrivateKey() *v3.DataSource
- func (x *IAMRolesAnywhereCredentialProvider) GetProfileArn() string
- func (x *IAMRolesAnywhereCredentialProvider) GetRoleArn() string
- func (x *IAMRolesAnywhereCredentialProvider) GetRoleSessionName() string
- func (x *IAMRolesAnywhereCredentialProvider) GetSessionDuration() *durationpb.Duration
- func (x *IAMRolesAnywhereCredentialProvider) GetTrustAnchorArn() string
- func (*IAMRolesAnywhereCredentialProvider) ProtoMessage()
- func (x *IAMRolesAnywhereCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *IAMRolesAnywhereCredentialProvider) Reset()
- func (x *IAMRolesAnywhereCredentialProvider) String() string
- func (m *IAMRolesAnywhereCredentialProvider) Validate() error
- func (m *IAMRolesAnywhereCredentialProvider) ValidateAll() error
- type IAMRolesAnywhereCredentialProviderMultiError
- func (m IAMRolesAnywhereCredentialProviderMultiError) AllErrors() []error
- func (m IAMRolesAnywhereCredentialProviderMultiError) Error() string
- type IAMRolesAnywhereCredentialProviderValidationError
- func (e IAMRolesAnywhereCredentialProviderValidationError) Cause() error
- func (e IAMRolesAnywhereCredentialProviderValidationError) Error() string
- func (e IAMRolesAnywhereCredentialProviderValidationError) ErrorName() string
- func (e IAMRolesAnywhereCredentialProviderValidationError) Field() string
- func (e IAMRolesAnywhereCredentialProviderValidationError) Key() bool
- func (e IAMRolesAnywhereCredentialProviderValidationError) Reason() string
- type InlineCredentialProvider
- func (*InlineCredentialProvider) Descriptor() ([]byte, []int)
- func (x *InlineCredentialProvider) GetAccessKeyId() string
- func (x *InlineCredentialProvider) GetSecretAccessKey() string
- func (x *InlineCredentialProvider) GetSessionToken() string
- func (*InlineCredentialProvider) ProtoMessage()
- func (x *InlineCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *InlineCredentialProvider) Reset()
- func (x *InlineCredentialProvider) String() string
- func (m *InlineCredentialProvider) Validate() error
- func (m *InlineCredentialProvider) ValidateAll() error
- type InlineCredentialProviderMultiError
- func (m InlineCredentialProviderMultiError) AllErrors() []error
- func (m InlineCredentialProviderMultiError) Error() string
- type InlineCredentialProviderValidationError
- func (e InlineCredentialProviderValidationError) Cause() error
- func (e InlineCredentialProviderValidationError) Error() string
- func (e InlineCredentialProviderValidationError) ErrorName() string
- func (e InlineCredentialProviderValidationError) Field() string
- func (e InlineCredentialProviderValidationError) Key() bool
- func (e InlineCredentialProviderValidationError) Reason() string
- type InstanceProfileCredentialProvider
- func (*InstanceProfileCredentialProvider) Descriptor() ([]byte, []int)
- func (*InstanceProfileCredentialProvider) ProtoMessage()
- func (x *InstanceProfileCredentialProvider) ProtoReflect() protoreflect.Message
- func (x *InstanceProfileCredentialProvider) Reset()
- func (x *InstanceProfileCredentialProvider) String() string
- func (m *InstanceProfileCredentialProvider) Validate() error
- func (m *InstanceProfileCredentialProvider) ValidateAll() error
- type InstanceProfileCredentialProviderMultiError
- func (m InstanceProfileCredentialProviderMultiError) AllErrors() []error
- func (m InstanceProfileCredentialProviderMultiError) Error() string
- type InstanceProfileCredentialProviderValidationError
- func (e InstanceProfileCredentialProviderValidationError) Cause() error
- func (e InstanceProfileCredentialProviderValidationError) Error() string
- func (e InstanceProfileCredentialProviderValidationError) ErrorName() string
- func (e InstanceProfileCredentialProviderValidationError) Field() string
- func (e InstanceProfileCredentialProviderValidationError) Key() bool
- func (e InstanceProfileCredentialProviderValidationError) Reason() string
Variables ¶
var File_envoy_extensions_common_aws_v3_credential_provider_proto protoreflect.FileDescriptor
Types ¶
type AssumeRoleCredentialProvider ¶
type AssumeRoleCredentialProvider struct {
// The ARN of the role to assume.
RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
// 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.
RoleSessionName string `protobuf:"bytes,2,opt,name=role_session_name,json=roleSessionName,proto3" json:"role_session_name,omitempty"`
// Optional string value to use as the externalId
ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
// 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>`_.
SessionDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=session_duration,json=sessionDuration,proto3" json:"session_duration,omitempty"`
// 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.
CredentialProvider *AwsCredentialProvider `protobuf:"bytes,5,opt,name=credential_provider,json=credentialProvider,proto3" json:"credential_provider,omitempty"`
// contains filtered or unexported fields
}
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]
func (*AssumeRoleCredentialProvider) Descriptor ¶
func (*AssumeRoleCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use AssumeRoleCredentialProvider.ProtoReflect.Descriptor instead.
func (*AssumeRoleCredentialProvider) GetCredentialProvider ¶
func (x *AssumeRoleCredentialProvider) GetCredentialProvider() *AwsCredentialProvider
func (*AssumeRoleCredentialProvider) GetExternalId ¶
func (x *AssumeRoleCredentialProvider) GetExternalId() string
func (*AssumeRoleCredentialProvider) GetRoleArn ¶
func (x *AssumeRoleCredentialProvider) GetRoleArn() string
func (*AssumeRoleCredentialProvider) GetRoleSessionName ¶
func (x *AssumeRoleCredentialProvider) GetRoleSessionName() string
func (*AssumeRoleCredentialProvider) GetSessionDuration ¶
func (x *AssumeRoleCredentialProvider) GetSessionDuration() *durationpb.Duration
func (*AssumeRoleCredentialProvider) ProtoMessage ¶
func (*AssumeRoleCredentialProvider) ProtoMessage()
func (*AssumeRoleCredentialProvider) ProtoReflect ¶
func (x *AssumeRoleCredentialProvider) ProtoReflect() protoreflect.Message
func (*AssumeRoleCredentialProvider) Reset ¶
func (x *AssumeRoleCredentialProvider) Reset()
func (*AssumeRoleCredentialProvider) String ¶
func (x *AssumeRoleCredentialProvider) String() string
func (*AssumeRoleCredentialProvider) Validate ¶
func (m *AssumeRoleCredentialProvider) Validate() error
Validate checks the field values on AssumeRoleCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AssumeRoleCredentialProvider) ValidateAll ¶
func (m *AssumeRoleCredentialProvider) ValidateAll() error
ValidateAll checks the field values on AssumeRoleCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssumeRoleCredentialProviderMultiError, or nil if none found.
type AssumeRoleCredentialProviderMultiError ¶
type AssumeRoleCredentialProviderMultiError []error
AssumeRoleCredentialProviderMultiError is an error wrapping multiple validation errors returned by AssumeRoleCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (AssumeRoleCredentialProviderMultiError) AllErrors ¶
func (m AssumeRoleCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssumeRoleCredentialProviderMultiError) Error ¶
func (m AssumeRoleCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssumeRoleCredentialProviderValidationError ¶
type AssumeRoleCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
AssumeRoleCredentialProviderValidationError is the validation error returned by AssumeRoleCredentialProvider.Validate if the designated constraints aren't met.
func (AssumeRoleCredentialProviderValidationError) Cause ¶
func (e AssumeRoleCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (AssumeRoleCredentialProviderValidationError) Error ¶
func (e AssumeRoleCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (AssumeRoleCredentialProviderValidationError) ErrorName ¶
func (e AssumeRoleCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (AssumeRoleCredentialProviderValidationError) Field ¶
func (e AssumeRoleCredentialProviderValidationError) Field() string
Field function returns field value.
func (AssumeRoleCredentialProviderValidationError) Key ¶
func (e AssumeRoleCredentialProviderValidationError) Key() bool
Key function returns key value.
func (AssumeRoleCredentialProviderValidationError) Reason ¶
func (e AssumeRoleCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type AssumeRoleWithWebIdentityCredentialProvider ¶
type AssumeRoleWithWebIdentityCredentialProvider struct {
// Data source for a web identity token that is provided by the identity provider to assume the role.
// If a “watched_directory“ is not provided, one will be automatically inferred from the directory of the token file. This is to ensure
// that if the token file is rotated, the new token will be picked up. This behaviour differs from the standard envoy data source behavior, which does not
// automatically watch the directory of a file data source.
// Even when file rotation occurs, current credentials will continue to be used until they expire, at which point new credentials will be retrieved using the new token.
WebIdentityTokenDataSource *v3.DataSource `protobuf:"bytes,1,opt,name=web_identity_token_data_source,json=webIdentityTokenDataSource,proto3" json:"web_identity_token_data_source,omitempty"`
// The ARN of the role to assume.
RoleArn string `protobuf:"bytes,2,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
// Optional role session name to use in AssumeRoleWithWebIdentity API call.
RoleSessionName string `protobuf:"bytes,3,opt,name=role_session_name,json=roleSessionName,proto3" json:"role_session_name,omitempty"`
// contains filtered or unexported fields
}
Configuration to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_ to retrieve AWS credentials.
func (*AssumeRoleWithWebIdentityCredentialProvider) Descriptor ¶
func (*AssumeRoleWithWebIdentityCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use AssumeRoleWithWebIdentityCredentialProvider.ProtoReflect.Descriptor instead.
func (*AssumeRoleWithWebIdentityCredentialProvider) GetRoleArn ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) GetRoleArn() string
func (*AssumeRoleWithWebIdentityCredentialProvider) GetRoleSessionName ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) GetRoleSessionName() string
func (*AssumeRoleWithWebIdentityCredentialProvider) GetWebIdentityTokenDataSource ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) GetWebIdentityTokenDataSource() *v3.DataSource
func (*AssumeRoleWithWebIdentityCredentialProvider) ProtoMessage ¶
func (*AssumeRoleWithWebIdentityCredentialProvider) ProtoMessage()
func (*AssumeRoleWithWebIdentityCredentialProvider) ProtoReflect ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) ProtoReflect() protoreflect.Message
func (*AssumeRoleWithWebIdentityCredentialProvider) Reset ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) Reset()
func (*AssumeRoleWithWebIdentityCredentialProvider) String ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) String() string
func (*AssumeRoleWithWebIdentityCredentialProvider) Validate ¶
func (m *AssumeRoleWithWebIdentityCredentialProvider) Validate() error
Validate checks the field values on AssumeRoleWithWebIdentityCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AssumeRoleWithWebIdentityCredentialProvider) ValidateAll ¶
func (m *AssumeRoleWithWebIdentityCredentialProvider) ValidateAll() error
ValidateAll checks the field values on AssumeRoleWithWebIdentityCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AssumeRoleWithWebIdentityCredentialProviderMultiError, or nil if none found.
type AssumeRoleWithWebIdentityCredentialProviderMultiError ¶
type AssumeRoleWithWebIdentityCredentialProviderMultiError []error
AssumeRoleWithWebIdentityCredentialProviderMultiError is an error wrapping multiple validation errors returned by AssumeRoleWithWebIdentityCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (AssumeRoleWithWebIdentityCredentialProviderMultiError) AllErrors ¶
func (m AssumeRoleWithWebIdentityCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssumeRoleWithWebIdentityCredentialProviderMultiError) Error ¶
func (m AssumeRoleWithWebIdentityCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssumeRoleWithWebIdentityCredentialProviderValidationError ¶
type AssumeRoleWithWebIdentityCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
AssumeRoleWithWebIdentityCredentialProviderValidationError is the validation error returned by AssumeRoleWithWebIdentityCredentialProvider.Validate if the designated constraints aren't met.
func (AssumeRoleWithWebIdentityCredentialProviderValidationError) Cause ¶
func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (AssumeRoleWithWebIdentityCredentialProviderValidationError) Error ¶
func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (AssumeRoleWithWebIdentityCredentialProviderValidationError) ErrorName ¶
func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (AssumeRoleWithWebIdentityCredentialProviderValidationError) Field ¶
func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Field() string
Field function returns field value.
func (AssumeRoleWithWebIdentityCredentialProviderValidationError) Key ¶
func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Key() bool
Key function returns key value.
func (AssumeRoleWithWebIdentityCredentialProviderValidationError) Reason ¶
func (e AssumeRoleWithWebIdentityCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type AwsCredentialProvider ¶
type AwsCredentialProvider struct {
// The option to use `AssumeRoleWithWebIdentity <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html>`_.
AssumeRoleWithWebIdentityProvider *AssumeRoleWithWebIdentityCredentialProvider `protobuf:"bytes,1,opt,name=assume_role_with_web_identity_provider,json=assumeRoleWithWebIdentityProvider,proto3" json:"assume_role_with_web_identity_provider,omitempty"`
// 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.
InlineCredential *InlineCredentialProvider `protobuf:"bytes,2,opt,name=inline_credential,json=inlineCredential,proto3" json:"inline_credential,omitempty"`
// The option to specify parameters for credential retrieval from an envoy data source, such as a file in AWS credential format.
CredentialsFileProvider *CredentialsFileCredentialProvider `protobuf:"bytes,3,opt,name=credentials_file_provider,json=credentialsFileProvider,proto3" json:"credentials_file_provider,omitempty"`
// 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.
CustomCredentialProviderChain bool `protobuf:"varint,4,opt,name=custom_credential_provider_chain,json=customCredentialProviderChain,proto3" json:"custom_credential_provider_chain,omitempty"`
// The option to use `IAM Roles Anywhere <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html>`_.
IamRolesAnywhereCredentialProvider *IAMRolesAnywhereCredentialProvider `protobuf:"bytes,5,opt,name=iam_roles_anywhere_credential_provider,json=iamRolesAnywhereCredentialProvider,proto3" json:"iam_roles_anywhere_credential_provider,omitempty"`
// The option to use credentials sourced from standard `AWS configuration files <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html>`_.
ConfigCredentialProvider *ConfigCredentialProvider `protobuf:"bytes,6,opt,name=config_credential_provider,json=configCredentialProvider,proto3" json:"config_credential_provider,omitempty"`
// The option to use credentials sourced from `container environment variables <https://docs.aws.amazon.com/sdkref/latest/guide/feature-container-credentials.html>`_.
ContainerCredentialProvider *ContainerCredentialProvider `protobuf:"bytes,7,opt,name=container_credential_provider,json=containerCredentialProvider,proto3" json:"container_credential_provider,omitempty"`
// The option to use credentials sourced from `environment variables <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html>`_.
EnvironmentCredentialProvider *EnvironmentCredentialProvider `protobuf:"bytes,8,opt,name=environment_credential_provider,json=environmentCredentialProvider,proto3" json:"environment_credential_provider,omitempty"`
// The option to use credentials sourced from an EC2 `Instance Profile <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html>`_.
InstanceProfileCredentialProvider *InstanceProfileCredentialProvider `protobuf:"bytes,9,opt,name=instance_profile_credential_provider,json=instanceProfileCredentialProvider,proto3" json:"instance_profile_credential_provider,omitempty"`
// The option to use `STS:AssumeRole aka Role Chaining <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_.
AssumeRoleCredentialProvider *AssumeRoleCredentialProvider `protobuf:"bytes,10,opt,name=assume_role_credential_provider,json=assumeRoleCredentialProvider,proto3" json:"assume_role_credential_provider,omitempty"`
// contains filtered or unexported fields
}
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. [#next-free-field: 11]
func (*AwsCredentialProvider) Descriptor ¶
func (*AwsCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use AwsCredentialProvider.ProtoReflect.Descriptor instead.
func (*AwsCredentialProvider) GetAssumeRoleCredentialProvider ¶
func (x *AwsCredentialProvider) GetAssumeRoleCredentialProvider() *AssumeRoleCredentialProvider
func (*AwsCredentialProvider) GetAssumeRoleWithWebIdentityProvider ¶
func (x *AwsCredentialProvider) GetAssumeRoleWithWebIdentityProvider() *AssumeRoleWithWebIdentityCredentialProvider
func (*AwsCredentialProvider) GetConfigCredentialProvider ¶
func (x *AwsCredentialProvider) GetConfigCredentialProvider() *ConfigCredentialProvider
func (*AwsCredentialProvider) GetContainerCredentialProvider ¶
func (x *AwsCredentialProvider) GetContainerCredentialProvider() *ContainerCredentialProvider
func (*AwsCredentialProvider) GetCredentialsFileProvider ¶
func (x *AwsCredentialProvider) GetCredentialsFileProvider() *CredentialsFileCredentialProvider
func (*AwsCredentialProvider) GetCustomCredentialProviderChain ¶
func (x *AwsCredentialProvider) GetCustomCredentialProviderChain() bool
func (*AwsCredentialProvider) GetEnvironmentCredentialProvider ¶
func (x *AwsCredentialProvider) GetEnvironmentCredentialProvider() *EnvironmentCredentialProvider
func (*AwsCredentialProvider) GetIamRolesAnywhereCredentialProvider ¶
func (x *AwsCredentialProvider) GetIamRolesAnywhereCredentialProvider() *IAMRolesAnywhereCredentialProvider
func (*AwsCredentialProvider) GetInlineCredential ¶
func (x *AwsCredentialProvider) GetInlineCredential() *InlineCredentialProvider
func (*AwsCredentialProvider) GetInstanceProfileCredentialProvider ¶
func (x *AwsCredentialProvider) GetInstanceProfileCredentialProvider() *InstanceProfileCredentialProvider
func (*AwsCredentialProvider) ProtoMessage ¶
func (*AwsCredentialProvider) ProtoMessage()
func (*AwsCredentialProvider) ProtoReflect ¶
func (x *AwsCredentialProvider) ProtoReflect() protoreflect.Message
func (*AwsCredentialProvider) Reset ¶
func (x *AwsCredentialProvider) Reset()
func (*AwsCredentialProvider) String ¶
func (x *AwsCredentialProvider) String() string
func (*AwsCredentialProvider) Validate ¶
func (m *AwsCredentialProvider) Validate() error
Validate checks the field values on AwsCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AwsCredentialProvider) ValidateAll ¶
func (m *AwsCredentialProvider) ValidateAll() error
ValidateAll checks the field values on AwsCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AwsCredentialProviderMultiError, or nil if none found.
type AwsCredentialProviderMultiError ¶
type AwsCredentialProviderMultiError []error
AwsCredentialProviderMultiError is an error wrapping multiple validation errors returned by AwsCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (AwsCredentialProviderMultiError) AllErrors ¶
func (m AwsCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AwsCredentialProviderMultiError) Error ¶
func (m AwsCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AwsCredentialProviderValidationError ¶
type AwsCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
AwsCredentialProviderValidationError is the validation error returned by AwsCredentialProvider.Validate if the designated constraints aren't met.
func (AwsCredentialProviderValidationError) Cause ¶
func (e AwsCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (AwsCredentialProviderValidationError) Error ¶
func (e AwsCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (AwsCredentialProviderValidationError) ErrorName ¶
func (e AwsCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (AwsCredentialProviderValidationError) Field ¶
func (e AwsCredentialProviderValidationError) Field() string
Field function returns field value.
func (AwsCredentialProviderValidationError) Key ¶
func (e AwsCredentialProviderValidationError) Key() bool
Key function returns key value.
func (AwsCredentialProviderValidationError) Reason ¶
func (e AwsCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type ConfigCredentialProvider ¶
type ConfigCredentialProvider struct {
// contains filtered or unexported fields
}
The Config Credential Provider has no configurable parameters, but listing it in a custom credential provider chain will enable this credential provider.
func (*ConfigCredentialProvider) Descriptor ¶
func (*ConfigCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use ConfigCredentialProvider.ProtoReflect.Descriptor instead.
func (*ConfigCredentialProvider) ProtoMessage ¶
func (*ConfigCredentialProvider) ProtoMessage()
func (*ConfigCredentialProvider) ProtoReflect ¶
func (x *ConfigCredentialProvider) ProtoReflect() protoreflect.Message
func (*ConfigCredentialProvider) Reset ¶
func (x *ConfigCredentialProvider) Reset()
func (*ConfigCredentialProvider) String ¶
func (x *ConfigCredentialProvider) String() string
func (*ConfigCredentialProvider) Validate ¶
func (m *ConfigCredentialProvider) Validate() error
Validate checks the field values on ConfigCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConfigCredentialProvider) ValidateAll ¶
func (m *ConfigCredentialProvider) ValidateAll() error
ValidateAll checks the field values on ConfigCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfigCredentialProviderMultiError, or nil if none found.
type ConfigCredentialProviderMultiError ¶
type ConfigCredentialProviderMultiError []error
ConfigCredentialProviderMultiError is an error wrapping multiple validation errors returned by ConfigCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (ConfigCredentialProviderMultiError) AllErrors ¶
func (m ConfigCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigCredentialProviderMultiError) Error ¶
func (m ConfigCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigCredentialProviderValidationError ¶
type ConfigCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
ConfigCredentialProviderValidationError is the validation error returned by ConfigCredentialProvider.Validate if the designated constraints aren't met.
func (ConfigCredentialProviderValidationError) Cause ¶
func (e ConfigCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (ConfigCredentialProviderValidationError) Error ¶
func (e ConfigCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigCredentialProviderValidationError) ErrorName ¶
func (e ConfigCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigCredentialProviderValidationError) Field ¶
func (e ConfigCredentialProviderValidationError) Field() string
Field function returns field value.
func (ConfigCredentialProviderValidationError) Key ¶
func (e ConfigCredentialProviderValidationError) Key() bool
Key function returns key value.
func (ConfigCredentialProviderValidationError) Reason ¶
func (e ConfigCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type ContainerCredentialProvider ¶
type ContainerCredentialProvider struct {
// contains filtered or unexported fields
}
The Container Credential Provider has no configurable parameters, but listing it in a custom credential provider chain will enable this credential provider.
func (*ContainerCredentialProvider) Descriptor ¶
func (*ContainerCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use ContainerCredentialProvider.ProtoReflect.Descriptor instead.
func (*ContainerCredentialProvider) ProtoMessage ¶
func (*ContainerCredentialProvider) ProtoMessage()
func (*ContainerCredentialProvider) ProtoReflect ¶
func (x *ContainerCredentialProvider) ProtoReflect() protoreflect.Message
func (*ContainerCredentialProvider) Reset ¶
func (x *ContainerCredentialProvider) Reset()
func (*ContainerCredentialProvider) String ¶
func (x *ContainerCredentialProvider) String() string
func (*ContainerCredentialProvider) Validate ¶
func (m *ContainerCredentialProvider) Validate() error
Validate checks the field values on ContainerCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContainerCredentialProvider) ValidateAll ¶
func (m *ContainerCredentialProvider) ValidateAll() error
ValidateAll checks the field values on ContainerCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContainerCredentialProviderMultiError, or nil if none found.
type ContainerCredentialProviderMultiError ¶
type ContainerCredentialProviderMultiError []error
ContainerCredentialProviderMultiError is an error wrapping multiple validation errors returned by ContainerCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (ContainerCredentialProviderMultiError) AllErrors ¶
func (m ContainerCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContainerCredentialProviderMultiError) Error ¶
func (m ContainerCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContainerCredentialProviderValidationError ¶
type ContainerCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
ContainerCredentialProviderValidationError is the validation error returned by ContainerCredentialProvider.Validate if the designated constraints aren't met.
func (ContainerCredentialProviderValidationError) Cause ¶
func (e ContainerCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (ContainerCredentialProviderValidationError) Error ¶
func (e ContainerCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (ContainerCredentialProviderValidationError) ErrorName ¶
func (e ContainerCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (ContainerCredentialProviderValidationError) Field ¶
func (e ContainerCredentialProviderValidationError) Field() string
Field function returns field value.
func (ContainerCredentialProviderValidationError) Key ¶
func (e ContainerCredentialProviderValidationError) Key() bool
Key function returns key value.
func (ContainerCredentialProviderValidationError) Reason ¶
func (e ContainerCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type CredentialsFileCredentialProvider ¶
type CredentialsFileCredentialProvider struct {
// Data source from which to retrieve AWS credentials
// When using this data source, if a “watched_directory“ is provided, the credential file will be re-read when a file move is detected.
// See :ref:`watched_directory <envoy_v3_api_msg_config.core.v3.DataSource>` for more information about the “watched_directory“ field.
CredentialsDataSource *v3.DataSource `protobuf:"bytes,1,opt,name=credentials_data_source,json=credentialsDataSource,proto3" json:"credentials_data_source,omitempty"`
// The profile within the credentials_file data source. If not provided, the default profile will be used.
Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
// contains filtered or unexported fields
}
func (*CredentialsFileCredentialProvider) Descriptor ¶
func (*CredentialsFileCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsFileCredentialProvider.ProtoReflect.Descriptor instead.
func (*CredentialsFileCredentialProvider) GetCredentialsDataSource ¶
func (x *CredentialsFileCredentialProvider) GetCredentialsDataSource() *v3.DataSource
func (*CredentialsFileCredentialProvider) GetProfile ¶
func (x *CredentialsFileCredentialProvider) GetProfile() string
func (*CredentialsFileCredentialProvider) ProtoMessage ¶
func (*CredentialsFileCredentialProvider) ProtoMessage()
func (*CredentialsFileCredentialProvider) ProtoReflect ¶
func (x *CredentialsFileCredentialProvider) ProtoReflect() protoreflect.Message
func (*CredentialsFileCredentialProvider) Reset ¶
func (x *CredentialsFileCredentialProvider) Reset()
func (*CredentialsFileCredentialProvider) String ¶
func (x *CredentialsFileCredentialProvider) String() string
func (*CredentialsFileCredentialProvider) Validate ¶
func (m *CredentialsFileCredentialProvider) Validate() error
Validate checks the field values on CredentialsFileCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CredentialsFileCredentialProvider) ValidateAll ¶
func (m *CredentialsFileCredentialProvider) ValidateAll() error
ValidateAll checks the field values on CredentialsFileCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CredentialsFileCredentialProviderMultiError, or nil if none found.
type CredentialsFileCredentialProviderMultiError ¶
type CredentialsFileCredentialProviderMultiError []error
CredentialsFileCredentialProviderMultiError is an error wrapping multiple validation errors returned by CredentialsFileCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (CredentialsFileCredentialProviderMultiError) AllErrors ¶
func (m CredentialsFileCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CredentialsFileCredentialProviderMultiError) Error ¶
func (m CredentialsFileCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CredentialsFileCredentialProviderValidationError ¶
type CredentialsFileCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
CredentialsFileCredentialProviderValidationError is the validation error returned by CredentialsFileCredentialProvider.Validate if the designated constraints aren't met.
func (CredentialsFileCredentialProviderValidationError) Cause ¶
func (e CredentialsFileCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (CredentialsFileCredentialProviderValidationError) Error ¶
func (e CredentialsFileCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (CredentialsFileCredentialProviderValidationError) ErrorName ¶
func (e CredentialsFileCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (CredentialsFileCredentialProviderValidationError) Field ¶
func (e CredentialsFileCredentialProviderValidationError) Field() string
Field function returns field value.
func (CredentialsFileCredentialProviderValidationError) Key ¶
func (e CredentialsFileCredentialProviderValidationError) Key() bool
Key function returns key value.
func (CredentialsFileCredentialProviderValidationError) Reason ¶
func (e CredentialsFileCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type EnvironmentCredentialProvider ¶
type EnvironmentCredentialProvider struct {
// contains filtered or unexported fields
}
The Environment Credential Provider has no configurable parameters, but listing it in a custom credential provider chain will enable this credential provider.
func (*EnvironmentCredentialProvider) Descriptor ¶
func (*EnvironmentCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentCredentialProvider.ProtoReflect.Descriptor instead.
func (*EnvironmentCredentialProvider) ProtoMessage ¶
func (*EnvironmentCredentialProvider) ProtoMessage()
func (*EnvironmentCredentialProvider) ProtoReflect ¶
func (x *EnvironmentCredentialProvider) ProtoReflect() protoreflect.Message
func (*EnvironmentCredentialProvider) Reset ¶
func (x *EnvironmentCredentialProvider) Reset()
func (*EnvironmentCredentialProvider) String ¶
func (x *EnvironmentCredentialProvider) String() string
func (*EnvironmentCredentialProvider) Validate ¶
func (m *EnvironmentCredentialProvider) Validate() error
Validate checks the field values on EnvironmentCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EnvironmentCredentialProvider) ValidateAll ¶
func (m *EnvironmentCredentialProvider) ValidateAll() error
ValidateAll checks the field values on EnvironmentCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnvironmentCredentialProviderMultiError, or nil if none found.
type EnvironmentCredentialProviderMultiError ¶
type EnvironmentCredentialProviderMultiError []error
EnvironmentCredentialProviderMultiError is an error wrapping multiple validation errors returned by EnvironmentCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (EnvironmentCredentialProviderMultiError) AllErrors ¶
func (m EnvironmentCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnvironmentCredentialProviderMultiError) Error ¶
func (m EnvironmentCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnvironmentCredentialProviderValidationError ¶
type EnvironmentCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
EnvironmentCredentialProviderValidationError is the validation error returned by EnvironmentCredentialProvider.Validate if the designated constraints aren't met.
func (EnvironmentCredentialProviderValidationError) Cause ¶
func (e EnvironmentCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (EnvironmentCredentialProviderValidationError) Error ¶
func (e EnvironmentCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (EnvironmentCredentialProviderValidationError) ErrorName ¶
func (e EnvironmentCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (EnvironmentCredentialProviderValidationError) Field ¶
func (e EnvironmentCredentialProviderValidationError) Field() string
Field function returns field value.
func (EnvironmentCredentialProviderValidationError) Key ¶
func (e EnvironmentCredentialProviderValidationError) Key() bool
Key function returns key value.
func (EnvironmentCredentialProviderValidationError) Reason ¶
func (e EnvironmentCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type IAMRolesAnywhereCredentialProvider ¶
type IAMRolesAnywhereCredentialProvider struct {
// The ARN of the role to assume via the IAM Roles Anywhere sessions API. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
RoleArn string `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
// The certificate used for authenticating to the IAM Roles Anywhere service.
// This certificate must match one configured in the IAM Roles Anywhere profile. See `Configure Roles <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step2>`_ for more details.
Certificate *v3.DataSource `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"`
// The optional certificate chain, required when you are using a subordinate certificate authority for certificate issuance.
// A certificate chain can contain a maximum of 5 elements, see `The IAM Roles Anywhere authentication process <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication.html>`_ for more details.
CertificateChain *v3.DataSource `protobuf:"bytes,3,opt,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
// The TLS private key matching the certificate provided.
PrivateKey *v3.DataSource `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
// The arn of the IAM Roles Anywhere trust anchor configured in your AWS account. A trust anchor in IAM Roles anywhere establishes
// trust between your certificate authority (CA) and AWS. See `Establish trust <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/getting-started.html#getting-started-step1>`_ for more details.
TrustAnchorArn string `protobuf:"bytes,5,opt,name=trust_anchor_arn,json=trustAnchorArn,proto3" json:"trust_anchor_arn,omitempty"`
// The IAM Roles Anywhere profile ARN configured in your AWS account.
ProfileArn string `protobuf:"bytes,6,opt,name=profile_arn,json=profileArn,proto3" json:"profile_arn,omitempty"`
// An optional role session name, used when identifying the role in subsequent AWS API calls.
RoleSessionName string `protobuf:"bytes,7,opt,name=role_session_name,json=roleSessionName,proto3" json:"role_session_name,omitempty"`
// An optional session duration, used when calculating the maximum time before vended credentials expire. This value cannot exceed the value configured
// in the IAM Roles Anywhere profile and the resultant session duration is calculate by the formula `here <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object>`_.
// If no session duration is provided here, the session duration is sourced from the IAM Roles Anywhere profile.
SessionDuration *durationpb.Duration `protobuf:"bytes,8,opt,name=session_duration,json=sessionDuration,proto3" json:"session_duration,omitempty"`
// contains filtered or unexported fields
}
Configuration to use `IAM Roles Anywhere <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html>`_ to retrieve AWS credentials. [#next-free-field: 9]
func (*IAMRolesAnywhereCredentialProvider) Descriptor ¶
func (*IAMRolesAnywhereCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use IAMRolesAnywhereCredentialProvider.ProtoReflect.Descriptor instead.
func (*IAMRolesAnywhereCredentialProvider) GetCertificate ¶
func (x *IAMRolesAnywhereCredentialProvider) GetCertificate() *v3.DataSource
func (*IAMRolesAnywhereCredentialProvider) GetCertificateChain ¶
func (x *IAMRolesAnywhereCredentialProvider) GetCertificateChain() *v3.DataSource
func (*IAMRolesAnywhereCredentialProvider) GetPrivateKey ¶
func (x *IAMRolesAnywhereCredentialProvider) GetPrivateKey() *v3.DataSource
func (*IAMRolesAnywhereCredentialProvider) GetProfileArn ¶
func (x *IAMRolesAnywhereCredentialProvider) GetProfileArn() string
func (*IAMRolesAnywhereCredentialProvider) GetRoleArn ¶
func (x *IAMRolesAnywhereCredentialProvider) GetRoleArn() string
func (*IAMRolesAnywhereCredentialProvider) GetRoleSessionName ¶
func (x *IAMRolesAnywhereCredentialProvider) GetRoleSessionName() string
func (*IAMRolesAnywhereCredentialProvider) GetSessionDuration ¶
func (x *IAMRolesAnywhereCredentialProvider) GetSessionDuration() *durationpb.Duration
func (*IAMRolesAnywhereCredentialProvider) GetTrustAnchorArn ¶
func (x *IAMRolesAnywhereCredentialProvider) GetTrustAnchorArn() string
func (*IAMRolesAnywhereCredentialProvider) ProtoMessage ¶
func (*IAMRolesAnywhereCredentialProvider) ProtoMessage()
func (*IAMRolesAnywhereCredentialProvider) ProtoReflect ¶
func (x *IAMRolesAnywhereCredentialProvider) ProtoReflect() protoreflect.Message
func (*IAMRolesAnywhereCredentialProvider) Reset ¶
func (x *IAMRolesAnywhereCredentialProvider) Reset()
func (*IAMRolesAnywhereCredentialProvider) String ¶
func (x *IAMRolesAnywhereCredentialProvider) String() string
func (*IAMRolesAnywhereCredentialProvider) Validate ¶
func (m *IAMRolesAnywhereCredentialProvider) Validate() error
Validate checks the field values on IAMRolesAnywhereCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IAMRolesAnywhereCredentialProvider) ValidateAll ¶
func (m *IAMRolesAnywhereCredentialProvider) ValidateAll() error
ValidateAll checks the field values on IAMRolesAnywhereCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IAMRolesAnywhereCredentialProviderMultiError, or nil if none found.
type IAMRolesAnywhereCredentialProviderMultiError ¶
type IAMRolesAnywhereCredentialProviderMultiError []error
IAMRolesAnywhereCredentialProviderMultiError is an error wrapping multiple validation errors returned by IAMRolesAnywhereCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (IAMRolesAnywhereCredentialProviderMultiError) AllErrors ¶
func (m IAMRolesAnywhereCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IAMRolesAnywhereCredentialProviderMultiError) Error ¶
func (m IAMRolesAnywhereCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IAMRolesAnywhereCredentialProviderValidationError ¶
type IAMRolesAnywhereCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
IAMRolesAnywhereCredentialProviderValidationError is the validation error returned by IAMRolesAnywhereCredentialProvider.Validate if the designated constraints aren't met.
func (IAMRolesAnywhereCredentialProviderValidationError) Cause ¶
func (e IAMRolesAnywhereCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (IAMRolesAnywhereCredentialProviderValidationError) Error ¶
func (e IAMRolesAnywhereCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (IAMRolesAnywhereCredentialProviderValidationError) ErrorName ¶
func (e IAMRolesAnywhereCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (IAMRolesAnywhereCredentialProviderValidationError) Field ¶
func (e IAMRolesAnywhereCredentialProviderValidationError) Field() string
Field function returns field value.
func (IAMRolesAnywhereCredentialProviderValidationError) Key ¶
func (e IAMRolesAnywhereCredentialProviderValidationError) Key() bool
Key function returns key value.
func (IAMRolesAnywhereCredentialProviderValidationError) Reason ¶
func (e IAMRolesAnywhereCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type InlineCredentialProvider ¶
type InlineCredentialProvider struct {
// The AWS access key ID.
AccessKeyId string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
// The AWS secret access key.
SecretAccessKey string `protobuf:"bytes,2,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
// The AWS session token. This is optional.
SessionToken string `protobuf:"bytes,3,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
// contains filtered or unexported fields
}
Configuration to use an inline AWS credential. This is an equivalent to setting the well-known environment variables “AWS_ACCESS_KEY_ID“, “AWS_SECRET_ACCESS_KEY“, and the optional “AWS_SESSION_TOKEN“.
func (*InlineCredentialProvider) Descriptor ¶
func (*InlineCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use InlineCredentialProvider.ProtoReflect.Descriptor instead.
func (*InlineCredentialProvider) GetAccessKeyId ¶
func (x *InlineCredentialProvider) GetAccessKeyId() string
func (*InlineCredentialProvider) GetSecretAccessKey ¶
func (x *InlineCredentialProvider) GetSecretAccessKey() string
func (*InlineCredentialProvider) GetSessionToken ¶
func (x *InlineCredentialProvider) GetSessionToken() string
func (*InlineCredentialProvider) ProtoMessage ¶
func (*InlineCredentialProvider) ProtoMessage()
func (*InlineCredentialProvider) ProtoReflect ¶
func (x *InlineCredentialProvider) ProtoReflect() protoreflect.Message
func (*InlineCredentialProvider) Reset ¶
func (x *InlineCredentialProvider) Reset()
func (*InlineCredentialProvider) String ¶
func (x *InlineCredentialProvider) String() string
func (*InlineCredentialProvider) Validate ¶
func (m *InlineCredentialProvider) Validate() error
Validate checks the field values on InlineCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InlineCredentialProvider) ValidateAll ¶
func (m *InlineCredentialProvider) ValidateAll() error
ValidateAll checks the field values on InlineCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InlineCredentialProviderMultiError, or nil if none found.
type InlineCredentialProviderMultiError ¶
type InlineCredentialProviderMultiError []error
InlineCredentialProviderMultiError is an error wrapping multiple validation errors returned by InlineCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (InlineCredentialProviderMultiError) AllErrors ¶
func (m InlineCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InlineCredentialProviderMultiError) Error ¶
func (m InlineCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InlineCredentialProviderValidationError ¶
type InlineCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
InlineCredentialProviderValidationError is the validation error returned by InlineCredentialProvider.Validate if the designated constraints aren't met.
func (InlineCredentialProviderValidationError) Cause ¶
func (e InlineCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (InlineCredentialProviderValidationError) Error ¶
func (e InlineCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (InlineCredentialProviderValidationError) ErrorName ¶
func (e InlineCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (InlineCredentialProviderValidationError) Field ¶
func (e InlineCredentialProviderValidationError) Field() string
Field function returns field value.
func (InlineCredentialProviderValidationError) Key ¶
func (e InlineCredentialProviderValidationError) Key() bool
Key function returns key value.
func (InlineCredentialProviderValidationError) Reason ¶
func (e InlineCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type InstanceProfileCredentialProvider ¶
type InstanceProfileCredentialProvider struct {
// contains filtered or unexported fields
}
The Instance Profile Credential Provider has no configurable parameters, but listing it in a custom credential provider chain will enable this credential provider.
func (*InstanceProfileCredentialProvider) Descriptor ¶
func (*InstanceProfileCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use InstanceProfileCredentialProvider.ProtoReflect.Descriptor instead.
func (*InstanceProfileCredentialProvider) ProtoMessage ¶
func (*InstanceProfileCredentialProvider) ProtoMessage()
func (*InstanceProfileCredentialProvider) ProtoReflect ¶
func (x *InstanceProfileCredentialProvider) ProtoReflect() protoreflect.Message
func (*InstanceProfileCredentialProvider) Reset ¶
func (x *InstanceProfileCredentialProvider) Reset()
func (*InstanceProfileCredentialProvider) String ¶
func (x *InstanceProfileCredentialProvider) String() string
func (*InstanceProfileCredentialProvider) Validate ¶
func (m *InstanceProfileCredentialProvider) Validate() error
Validate checks the field values on InstanceProfileCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InstanceProfileCredentialProvider) ValidateAll ¶
func (m *InstanceProfileCredentialProvider) ValidateAll() error
ValidateAll checks the field values on InstanceProfileCredentialProvider with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InstanceProfileCredentialProviderMultiError, or nil if none found.
type InstanceProfileCredentialProviderMultiError ¶
type InstanceProfileCredentialProviderMultiError []error
InstanceProfileCredentialProviderMultiError is an error wrapping multiple validation errors returned by InstanceProfileCredentialProvider.ValidateAll() if the designated constraints aren't met.
func (InstanceProfileCredentialProviderMultiError) AllErrors ¶
func (m InstanceProfileCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstanceProfileCredentialProviderMultiError) Error ¶
func (m InstanceProfileCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstanceProfileCredentialProviderValidationError ¶
type InstanceProfileCredentialProviderValidationError struct {
// contains filtered or unexported fields
}
InstanceProfileCredentialProviderValidationError is the validation error returned by InstanceProfileCredentialProvider.Validate if the designated constraints aren't met.
func (InstanceProfileCredentialProviderValidationError) Cause ¶
func (e InstanceProfileCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (InstanceProfileCredentialProviderValidationError) Error ¶
func (e InstanceProfileCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (InstanceProfileCredentialProviderValidationError) ErrorName ¶
func (e InstanceProfileCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (InstanceProfileCredentialProviderValidationError) Field ¶
func (e InstanceProfileCredentialProviderValidationError) Field() string
Field function returns field value.
func (InstanceProfileCredentialProviderValidationError) Key ¶
func (e InstanceProfileCredentialProviderValidationError) Key() bool
Key function returns key value.
func (InstanceProfileCredentialProviderValidationError) Reason ¶
func (e InstanceProfileCredentialProviderValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
credential_provider.pb.go credential_provider.pb.validate.go
- Version
- v1.37.0 (latest)
- Published
- Jan 13, 2026
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 1 hour ago –
Tools for package owners.