rdsutils

package
v1.8.17 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAuthToken

func BuildAuthToken(endpoint, region, dbUser string, creds *credentials.Credentials) (string, error)

BuildAuthToken is used for generate a autherized presigned URL to connect to the database.

The endpoint consists of the scheme, hostname, and port. IE {scheme}://{hostname}[:port]. The region is the region of database that the auth token would be generated for. The dbUser is the user that the request would be authenticated with. The creds are the credentials the auth token is signed with.

The url that is returned will not contain the scheme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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