codecommit

package
v0.0.110 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	// contains filtered or unexported fields
}

Signer implements the AWS authenticated V4 Signature Specification for generating authenticated requests to CodeCommit repositories. The signature is generated using the V4 Signature Specification see https://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html

func NewSigner

func NewSigner(creds aws.Credentials) *Signer

NewSigner creates a new V4 signer for signing CodeCommit URLs

func (*Signer) Sign

func (s *Signer) Sign(cloneURL string) (string, error)

Sign will sign a CodeCommit clone URL using the AWS authenticated V4 Signature Specification. As CodeCommit is accessed directly through a git client over HTTPS, authentication details must be supplied to CodeCommit using Basic User Autentication.

Jump to

Keyboard shortcuts

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