server

package
v6.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Shutdown

func Shutdown()

func StartEc2CredentialsServer

func StartEc2CredentialsServer(credsProvider aws.CredentialsProvider, region string) error

StartEc2CredentialsServer starts a EC2 Instance Metadata server and endpoint proxy

func StartEc2EndpointProxyServerProcess

func StartEc2EndpointProxyServerProcess() error

StartEc2EndpointProxyServerProcess starts a `aws-vault proxy` process

func StartEcsCredentialServer

func StartEcsCredentialServer(credsProvider aws.CredentialsProvider) (string, string, error)

StartEcsCredentialServer starts an ECS credential server on a random port

func StartProxy

func StartProxy() error

StartProxy starts a http proxy server that listens on the standard EC2 Instance Metadata endpoint http://169.254.169.254:80/ and forwards requests through to the running `aws-vault exec` command

func StopProxy

func StopProxy()

StopProxy stops the http proxy server on the standard EC2 Instance Metadata endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL