package
0.0.3
Repository: https://github.com/leaf-ai/go-service.git
Documentation: pkg.go.dev

# Functions

AWSExtractCreds can be used to populate a set of credentials from a pair of config and credentials files typically found in the ~/.aws directory by AWS clients This is a deprecated function .
GetCredentials is used to extract the AWS credentials using the AWS standard mechanisims for specification of things such as env var AWS_PROFILE values or directly using env vars etc.
IsAWS can detect if pods running within a Kubernetes cluster are actually being hosted on an EC2 instance .

# Structs

AWSCred is used to encapsulate the credentials that are to be used to access an AWS resource such as an S3 bucket for example.