utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCanonicalRequest

func CreateCanonicalRequest(amzdate string, token, signedHeaders, payloadHash string) string

func CreateStringToSign

func CreateStringToSign(datestamp string, amzDate string, cannonicalRequest string) string

func GetAmzDate

func GetAmzDate(t time.Time) string

func GetAuthenticationRequest

func GetAuthenticationRequest(accessKey string, secretAccessKey string, token string, dateTime time.Time) (string, error)

func GetAuthenticationRequestNow

func GetAuthenticationRequestNow(accessKey string, secretAccessKey string, token string) (string, error)

func GetConjurHTTPClient

func GetConjurHTTPClient(config conjurapi.Config) (*http.Client, error)

func GetDate

func GetDate(t time.Time) string

func SHA256Hash

func SHA256Hash(input string) string

Types

This section is empty.

Directories

Path Synopsis
aws
ec2
ecs

Jump to

Keyboard shortcuts

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