Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsProxyRunning ¶
func IsProxyRunning() bool
func StartEc2CredentialsServer ¶
func StartEc2CredentialsServer(ctx context.Context, 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 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
Types ¶
type EcsServer ¶
type EcsServer struct {
// contains filtered or unexported fields
}
func NewEcsServer ¶
func (*EcsServer) AssumeRoleArnRoute ¶
func (e *EcsServer) AssumeRoleArnRoute(w http.ResponseWriter, r *http.Request)
func (*EcsServer) DefaultRoute ¶
func (e *EcsServer) DefaultRoute(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.