Documentation
¶
Index ¶
- Variables
- type AssumeRoleCredentialProvider
- func (*AssumeRoleCredentialProvider) Descriptor() ([]byte, []int)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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)deprecated
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_common_aws_v3_credential_provider_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AssumeRoleCredentialProvider ¶ added in v1.35.0
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"`
// Optional string value to use as the role session name
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
deprecated
added in
v1.35.0
func (*AssumeRoleCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use AssumeRoleCredentialProvider.ProtoReflect.Descriptor instead.
func (*AssumeRoleCredentialProvider) GetCredentialProvider ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) GetCredentialProvider() *AwsCredentialProvider
func (*AssumeRoleCredentialProvider) GetExternalId ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) GetExternalId() string
func (*AssumeRoleCredentialProvider) GetRoleArn ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) GetRoleArn() string
func (*AssumeRoleCredentialProvider) GetRoleSessionName ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) GetRoleSessionName() string
func (*AssumeRoleCredentialProvider) GetSessionDuration ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) GetSessionDuration() *durationpb.Duration
func (*AssumeRoleCredentialProvider) ProtoMessage ¶ added in v1.35.0
func (*AssumeRoleCredentialProvider) ProtoMessage()
func (*AssumeRoleCredentialProvider) ProtoReflect ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) ProtoReflect() protoreflect.Message
func (*AssumeRoleCredentialProvider) Reset ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) Reset()
func (*AssumeRoleCredentialProvider) String ¶ added in v1.35.0
func (x *AssumeRoleCredentialProvider) String() string
func (*AssumeRoleCredentialProvider) Validate ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (m AssumeRoleCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssumeRoleCredentialProviderMultiError) Error ¶ added in v1.35.0
func (m AssumeRoleCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssumeRoleCredentialProviderValidationError ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (e AssumeRoleCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (AssumeRoleCredentialProviderValidationError) Error ¶ added in v1.35.0
func (e AssumeRoleCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (AssumeRoleCredentialProviderValidationError) ErrorName ¶ added in v1.35.0
func (e AssumeRoleCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (AssumeRoleCredentialProviderValidationError) Field ¶ added in v1.35.0
func (e AssumeRoleCredentialProviderValidationError) Field() string
Field function returns field value.
func (AssumeRoleCredentialProviderValidationError) Key ¶ added in v1.35.0
func (e AssumeRoleCredentialProviderValidationError) Key() bool
Key function returns key value.
func (AssumeRoleCredentialProviderValidationError) Reason ¶ added in v1.35.0
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.
// When using this data source, even if a “watched_directory“ is provided, the token file will only be re-read when the credentials
// returned from AssumeRoleWithWebIdentity expire.
WebIdentityTokenDataSource *v3.DataSource `` /* 145-byte string literal not displayed */
// 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
deprecated
func (*AssumeRoleWithWebIdentityCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use AssumeRoleWithWebIdentityCredentialProvider.ProtoReflect.Descriptor instead.
func (*AssumeRoleWithWebIdentityCredentialProvider) GetRoleArn ¶
func (x *AssumeRoleWithWebIdentityCredentialProvider) GetRoleArn() string
func (*AssumeRoleWithWebIdentityCredentialProvider) GetRoleSessionName ¶ added in v1.32.3
func (x *AssumeRoleWithWebIdentityCredentialProvider) GetRoleSessionName() string
func (*AssumeRoleWithWebIdentityCredentialProvider) GetWebIdentityTokenDataSource ¶ added in v1.32.3
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 `` /* 168-byte string literal not displayed */
// 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 `` /* 132-byte string literal not displayed */
// 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 `` /* 153-byte string literal not displayed */
// The option to use `IAM Roles Anywhere <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html>`_.
IamRolesAnywhereCredentialProvider *IAMRolesAnywhereCredentialProvider `` /* 169-byte string literal not displayed */
// 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 `` /* 135-byte string literal not displayed */
// The option to use credentials sourced from `container environment variables <https://docs.aws.amazon.com/sdkref/latest/guide/feature-container-credentials.html>`_.
ContainerCredentialProvider *ContainerCredentialProvider `` /* 144-byte string literal not displayed */
// The option to use credentials sourced from `environment variables <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html>`_.
EnvironmentCredentialProvider *EnvironmentCredentialProvider `` /* 150-byte string literal not displayed */
// 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 `` /* 164-byte string literal not displayed */
// The option to use `STS:AssumeRole aka Role Chaining <https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html>`_.
AssumeRoleCredentialProvider *AssumeRoleCredentialProvider `` /* 150-byte string literal not displayed */
// 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
deprecated
func (*AwsCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use AwsCredentialProvider.ProtoReflect.Descriptor instead.
func (*AwsCredentialProvider) GetAssumeRoleCredentialProvider ¶ added in v1.35.0
func (x *AwsCredentialProvider) GetAssumeRoleCredentialProvider() *AssumeRoleCredentialProvider
func (*AwsCredentialProvider) GetAssumeRoleWithWebIdentityProvider ¶ added in v1.32.3
func (x *AwsCredentialProvider) GetAssumeRoleWithWebIdentityProvider() *AssumeRoleWithWebIdentityCredentialProvider
func (*AwsCredentialProvider) GetConfigCredentialProvider ¶ added in v1.35.0
func (x *AwsCredentialProvider) GetConfigCredentialProvider() *ConfigCredentialProvider
func (*AwsCredentialProvider) GetContainerCredentialProvider ¶ added in v1.35.0
func (x *AwsCredentialProvider) GetContainerCredentialProvider() *ContainerCredentialProvider
func (*AwsCredentialProvider) GetCredentialsFileProvider ¶ added in v1.32.3
func (x *AwsCredentialProvider) GetCredentialsFileProvider() *CredentialsFileCredentialProvider
func (*AwsCredentialProvider) GetCustomCredentialProviderChain ¶ added in v1.32.3
func (x *AwsCredentialProvider) GetCustomCredentialProviderChain() bool
func (*AwsCredentialProvider) GetEnvironmentCredentialProvider ¶ added in v1.35.0
func (x *AwsCredentialProvider) GetEnvironmentCredentialProvider() *EnvironmentCredentialProvider
func (*AwsCredentialProvider) GetIamRolesAnywhereCredentialProvider ¶ added in v1.35.0
func (x *AwsCredentialProvider) GetIamRolesAnywhereCredentialProvider() *IAMRolesAnywhereCredentialProvider
func (*AwsCredentialProvider) GetInlineCredential ¶
func (x *AwsCredentialProvider) GetInlineCredential() *InlineCredentialProvider
func (*AwsCredentialProvider) GetInstanceProfileCredentialProvider ¶ added in v1.35.0
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 ¶ added in v1.35.0
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
deprecated
added in
v1.35.0
func (*ConfigCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use ConfigCredentialProvider.ProtoReflect.Descriptor instead.
func (*ConfigCredentialProvider) ProtoMessage ¶ added in v1.35.0
func (*ConfigCredentialProvider) ProtoMessage()
func (*ConfigCredentialProvider) ProtoReflect ¶ added in v1.35.0
func (x *ConfigCredentialProvider) ProtoReflect() protoreflect.Message
func (*ConfigCredentialProvider) Reset ¶ added in v1.35.0
func (x *ConfigCredentialProvider) Reset()
func (*ConfigCredentialProvider) String ¶ added in v1.35.0
func (x *ConfigCredentialProvider) String() string
func (*ConfigCredentialProvider) Validate ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (m ConfigCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigCredentialProviderMultiError) Error ¶ added in v1.35.0
func (m ConfigCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigCredentialProviderValidationError ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (e ConfigCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (ConfigCredentialProviderValidationError) Error ¶ added in v1.35.0
func (e ConfigCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigCredentialProviderValidationError) ErrorName ¶ added in v1.35.0
func (e ConfigCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigCredentialProviderValidationError) Field ¶ added in v1.35.0
func (e ConfigCredentialProviderValidationError) Field() string
Field function returns field value.
func (ConfigCredentialProviderValidationError) Key ¶ added in v1.35.0
func (e ConfigCredentialProviderValidationError) Key() bool
Key function returns key value.
func (ConfigCredentialProviderValidationError) Reason ¶ added in v1.35.0
func (e ConfigCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type ContainerCredentialProvider ¶ added in v1.35.0
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
deprecated
added in
v1.35.0
func (*ContainerCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use ContainerCredentialProvider.ProtoReflect.Descriptor instead.
func (*ContainerCredentialProvider) ProtoMessage ¶ added in v1.35.0
func (*ContainerCredentialProvider) ProtoMessage()
func (*ContainerCredentialProvider) ProtoReflect ¶ added in v1.35.0
func (x *ContainerCredentialProvider) ProtoReflect() protoreflect.Message
func (*ContainerCredentialProvider) Reset ¶ added in v1.35.0
func (x *ContainerCredentialProvider) Reset()
func (*ContainerCredentialProvider) String ¶ added in v1.35.0
func (x *ContainerCredentialProvider) String() string
func (*ContainerCredentialProvider) Validate ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (m ContainerCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContainerCredentialProviderMultiError) Error ¶ added in v1.35.0
func (m ContainerCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContainerCredentialProviderValidationError ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (e ContainerCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (ContainerCredentialProviderValidationError) Error ¶ added in v1.35.0
func (e ContainerCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (ContainerCredentialProviderValidationError) ErrorName ¶ added in v1.35.0
func (e ContainerCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (ContainerCredentialProviderValidationError) Field ¶ added in v1.35.0
func (e ContainerCredentialProviderValidationError) Field() string
Field function returns field value.
func (ContainerCredentialProviderValidationError) Key ¶ added in v1.35.0
func (e ContainerCredentialProviderValidationError) Key() bool
Key function returns key value.
func (ContainerCredentialProviderValidationError) Reason ¶ added in v1.35.0
func (e ContainerCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type CredentialsFileCredentialProvider ¶ added in v1.32.3
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 `` /* 126-byte string literal not displayed */
// 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
deprecated
added in
v1.32.3
func (*CredentialsFileCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsFileCredentialProvider.ProtoReflect.Descriptor instead.
func (*CredentialsFileCredentialProvider) GetCredentialsDataSource ¶ added in v1.32.3
func (x *CredentialsFileCredentialProvider) GetCredentialsDataSource() *v3.DataSource
func (*CredentialsFileCredentialProvider) GetProfile ¶ added in v1.32.3
func (x *CredentialsFileCredentialProvider) GetProfile() string
func (*CredentialsFileCredentialProvider) ProtoMessage ¶ added in v1.32.3
func (*CredentialsFileCredentialProvider) ProtoMessage()
func (*CredentialsFileCredentialProvider) ProtoReflect ¶ added in v1.32.3
func (x *CredentialsFileCredentialProvider) ProtoReflect() protoreflect.Message
func (*CredentialsFileCredentialProvider) Reset ¶ added in v1.32.3
func (x *CredentialsFileCredentialProvider) Reset()
func (*CredentialsFileCredentialProvider) String ¶ added in v1.32.3
func (x *CredentialsFileCredentialProvider) String() string
func (*CredentialsFileCredentialProvider) Validate ¶ added in v1.32.3
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 ¶ added in v1.32.3
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 ¶ added in v1.32.3
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 ¶ added in v1.32.3
func (m CredentialsFileCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CredentialsFileCredentialProviderMultiError) Error ¶ added in v1.32.3
func (m CredentialsFileCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CredentialsFileCredentialProviderValidationError ¶ added in v1.32.3
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 ¶ added in v1.32.3
func (e CredentialsFileCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (CredentialsFileCredentialProviderValidationError) Error ¶ added in v1.32.3
func (e CredentialsFileCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (CredentialsFileCredentialProviderValidationError) ErrorName ¶ added in v1.32.3
func (e CredentialsFileCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (CredentialsFileCredentialProviderValidationError) Field ¶ added in v1.32.3
func (e CredentialsFileCredentialProviderValidationError) Field() string
Field function returns field value.
func (CredentialsFileCredentialProviderValidationError) Key ¶ added in v1.32.3
func (e CredentialsFileCredentialProviderValidationError) Key() bool
Key function returns key value.
func (CredentialsFileCredentialProviderValidationError) Reason ¶ added in v1.32.3
func (e CredentialsFileCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type EnvironmentCredentialProvider ¶ added in v1.35.0
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
deprecated
added in
v1.35.0
func (*EnvironmentCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentCredentialProvider.ProtoReflect.Descriptor instead.
func (*EnvironmentCredentialProvider) ProtoMessage ¶ added in v1.35.0
func (*EnvironmentCredentialProvider) ProtoMessage()
func (*EnvironmentCredentialProvider) ProtoReflect ¶ added in v1.35.0
func (x *EnvironmentCredentialProvider) ProtoReflect() protoreflect.Message
func (*EnvironmentCredentialProvider) Reset ¶ added in v1.35.0
func (x *EnvironmentCredentialProvider) Reset()
func (*EnvironmentCredentialProvider) String ¶ added in v1.35.0
func (x *EnvironmentCredentialProvider) String() string
func (*EnvironmentCredentialProvider) Validate ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (m EnvironmentCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnvironmentCredentialProviderMultiError) Error ¶ added in v1.35.0
func (m EnvironmentCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnvironmentCredentialProviderValidationError ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (e EnvironmentCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (EnvironmentCredentialProviderValidationError) Error ¶ added in v1.35.0
func (e EnvironmentCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (EnvironmentCredentialProviderValidationError) ErrorName ¶ added in v1.35.0
func (e EnvironmentCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (EnvironmentCredentialProviderValidationError) Field ¶ added in v1.35.0
func (e EnvironmentCredentialProviderValidationError) Field() string
Field function returns field value.
func (EnvironmentCredentialProviderValidationError) Key ¶ added in v1.35.0
func (e EnvironmentCredentialProviderValidationError) Key() bool
Key function returns key value.
func (EnvironmentCredentialProviderValidationError) Reason ¶ added in v1.35.0
func (e EnvironmentCredentialProviderValidationError) Reason() string
Reason function returns reason value.
type IAMRolesAnywhereCredentialProvider ¶ added in v1.35.0
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
deprecated
added in
v1.35.0
func (*IAMRolesAnywhereCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use IAMRolesAnywhereCredentialProvider.ProtoReflect.Descriptor instead.
func (*IAMRolesAnywhereCredentialProvider) GetCertificate ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetCertificate() *v3.DataSource
func (*IAMRolesAnywhereCredentialProvider) GetCertificateChain ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetCertificateChain() *v3.DataSource
func (*IAMRolesAnywhereCredentialProvider) GetPrivateKey ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetPrivateKey() *v3.DataSource
func (*IAMRolesAnywhereCredentialProvider) GetProfileArn ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetProfileArn() string
func (*IAMRolesAnywhereCredentialProvider) GetRoleArn ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetRoleArn() string
func (*IAMRolesAnywhereCredentialProvider) GetRoleSessionName ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetRoleSessionName() string
func (*IAMRolesAnywhereCredentialProvider) GetSessionDuration ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetSessionDuration() *durationpb.Duration
func (*IAMRolesAnywhereCredentialProvider) GetTrustAnchorArn ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) GetTrustAnchorArn() string
func (*IAMRolesAnywhereCredentialProvider) ProtoMessage ¶ added in v1.35.0
func (*IAMRolesAnywhereCredentialProvider) ProtoMessage()
func (*IAMRolesAnywhereCredentialProvider) ProtoReflect ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) ProtoReflect() protoreflect.Message
func (*IAMRolesAnywhereCredentialProvider) Reset ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) Reset()
func (*IAMRolesAnywhereCredentialProvider) String ¶ added in v1.35.0
func (x *IAMRolesAnywhereCredentialProvider) String() string
func (*IAMRolesAnywhereCredentialProvider) Validate ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (m IAMRolesAnywhereCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IAMRolesAnywhereCredentialProviderMultiError) Error ¶ added in v1.35.0
func (m IAMRolesAnywhereCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IAMRolesAnywhereCredentialProviderValidationError ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (e IAMRolesAnywhereCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (IAMRolesAnywhereCredentialProviderValidationError) Error ¶ added in v1.35.0
func (e IAMRolesAnywhereCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (IAMRolesAnywhereCredentialProviderValidationError) ErrorName ¶ added in v1.35.0
func (e IAMRolesAnywhereCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (IAMRolesAnywhereCredentialProviderValidationError) Field ¶ added in v1.35.0
func (e IAMRolesAnywhereCredentialProviderValidationError) Field() string
Field function returns field value.
func (IAMRolesAnywhereCredentialProviderValidationError) Key ¶ added in v1.35.0
func (e IAMRolesAnywhereCredentialProviderValidationError) Key() bool
Key function returns key value.
func (IAMRolesAnywhereCredentialProviderValidationError) Reason ¶ added in v1.35.0
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
deprecated
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 ¶ added in v1.35.0
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
deprecated
added in
v1.35.0
func (*InstanceProfileCredentialProvider) Descriptor() ([]byte, []int)
Deprecated: Use InstanceProfileCredentialProvider.ProtoReflect.Descriptor instead.
func (*InstanceProfileCredentialProvider) ProtoMessage ¶ added in v1.35.0
func (*InstanceProfileCredentialProvider) ProtoMessage()
func (*InstanceProfileCredentialProvider) ProtoReflect ¶ added in v1.35.0
func (x *InstanceProfileCredentialProvider) ProtoReflect() protoreflect.Message
func (*InstanceProfileCredentialProvider) Reset ¶ added in v1.35.0
func (x *InstanceProfileCredentialProvider) Reset()
func (*InstanceProfileCredentialProvider) String ¶ added in v1.35.0
func (x *InstanceProfileCredentialProvider) String() string
func (*InstanceProfileCredentialProvider) Validate ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (m InstanceProfileCredentialProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InstanceProfileCredentialProviderMultiError) Error ¶ added in v1.35.0
func (m InstanceProfileCredentialProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InstanceProfileCredentialProviderValidationError ¶ added in v1.35.0
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 ¶ added in v1.35.0
func (e InstanceProfileCredentialProviderValidationError) Cause() error
Cause function returns cause value.
func (InstanceProfileCredentialProviderValidationError) Error ¶ added in v1.35.0
func (e InstanceProfileCredentialProviderValidationError) Error() string
Error satisfies the builtin error interface
func (InstanceProfileCredentialProviderValidationError) ErrorName ¶ added in v1.35.0
func (e InstanceProfileCredentialProviderValidationError) ErrorName() string
ErrorName returns error name.
func (InstanceProfileCredentialProviderValidationError) Field ¶ added in v1.35.0
func (e InstanceProfileCredentialProviderValidationError) Field() string
Field function returns field value.
func (InstanceProfileCredentialProviderValidationError) Key ¶ added in v1.35.0
func (e InstanceProfileCredentialProviderValidationError) Key() bool
Key function returns key value.
func (InstanceProfileCredentialProviderValidationError) Reason ¶ added in v1.35.0
func (e InstanceProfileCredentialProviderValidationError) Reason() string
Reason function returns reason value.