# Functions
AWSGetCallerIdentity makes sends a request to AWS to get the caller identity.
CredentialsIDSecret retrieves AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY from the data which contains aws credentials under given profile Example: [default] aws_access_key_id = <YOUR_ACCESS_KEY_ID> aws_secret_access_key = <YOUR_SECRET_ACCESS_KEY>.
GetAssumeRoleWithWebIdentityConfig returns an aws.Config capable of doing AssumeRoleWithWebIdentity.
GetAssumeRoleWithWebIdentityConfigViaTokenRetriever returns an aws.Config capable of doing AssumeRoleWithWebIdentity using the token obtained from the supplied stscreds.IdentityTokenRetriever.
GetAWSConfigWithoutTracking produces an AWS config from the specified v1beta1.ProviderConfig that can be used to authenticate to AWS.
GetAWSConfigWithTracking obtains the provider config referenced by the specified managed resource and produces a config that can be used to authenticate to AWS and tracks the ProviderConfigUsage.
GetRoleChainConfig returns an aws.Config capable of doing role chaining with AssumeRoleWithWebIdentity & AssumeRoles.
LateInitializeStringPtr returns in if it's non-nil, otherwise returns from which is the backup for the cases in is nil.
NewAWSCredentialsProviderCache returns a new empty *AWSCredentialsProviderCache with the default GetAWSConfig method.
NewCallerIdentityCache returns a new empty *CallerIdentityCache.
No description provided by the author
SetAssumeRoleOptions sets options when Assuming an IAM Role.
SetResolver parses annotations from the managed resource and returns a configuration accordingly.
SetWebIdentityRoleOptions sets options when exchanging a WebIdentity Token for a Role.
UseDefault loads the default AWS config with the specified region.
UseProviderSecret - AWS configuration which can be used to issue requests against AWS API.
UseUpbound calls sts.AssumeRoleWithWebIdentity using the configuration supplied in ProviderConfig's spec.credentials.assumeRoleWithWebIdentity and the identity supplied by the injected Upbound OIDC token.
UseWebIdentityToken calls sts.AssumeRoleWithWebIdentity using the configuration supplied in ProviderConfig's spec.credentials.assumeRoleWithWebIdentity.
WithCache lets you bootstrap with your own cache.
WithCacheLogger lets you configure the logger for the cache.
WithCacheMaxSize lets you override the default MaxSize for AWS CredentialsProvider cache.
WithCacheStore lets you bootstrap AWS CredentialsProvider Cache with your own cache.
WithGetCallerIdentityFn lets you override the default GetCallerIdentityFn.
WithMaxSize lets you override the default MaxSize.
# Constants
DefaultSection for INI files.
GlobalRegion is the region name used for AWS services that do not have a notion of region.
Endpoint URL configuration types.
Endpoint URL configuration types.
# Variables
GlobalCallerIdentityCache is a global cache to be used by all controllers.
# Structs
AWSCredentialsProviderCache holds aws.CredentialsProvider objects in memory so that we don't need to make API calls to AWS in every reconciliation of
every resource.
CallerIdentityCache holds GetCallerIdentityOutput objects in memory so that we don't need to make API calls to AWS in every reconciliation of every resource.
Credentials holds the aws.Credentials and the associated AWS account ID for these credentials.
No description provided by the author
# Type aliases
AccountIDFn is a function for retrieving the account ID.
AuthMethod is a method of authenticating to the AWS API.
AWSCredentialsProviderCacheOption lets you configure a *GlobalAWSCredentialsProviderCache.
CallerIdentityCacheOption lets you configure *CallerIdentityCache.
GetCallerIdentityFn is the function type to call GetCallerIdentity API.