package
1.1.1
Repository: https://github.com/mmmorris1975/aws-runas.git
Documentation: pkg.go.dev

# Functions

NewEC2MetadataService starts an HTTP server which will listen on the EC2 metadata service path for handling requests for instance role credentials.
NewEcsMetadataService creates a new EcsMetadataService object using the provided EcsMetadataInput options.

# Constants

EC2MetadataCredentialPath is the base path for instance role credentials in the metadata service.
EC2MetadataIp is the address used to contact the metadata service, per AWS.
EcsCredentialsPath is the URL path used to retrieve the credentials.
ListRolesPath is the endpoint for listing all known roles.
MfaPath is the endpoint for providing MFA data.
ProfilePath is the endpoint for getting/setting the profile to use.
RefreshPath is the endpoint for forcing a credential refresh.

# Variables

EC2MetadataAddress is the net.IPAddr of the EC2 metadata service.

# Structs

EC2MetadataInput is a struct to provide options for configuring the state of the metadata service at startup.
EcsMetadataInput contains the options available for customizing the behavior of the ECS Metadata Service.
EcsMetadataService is the object encapsulating the details of the service.