Help us shape the future of Go! Take the 2026 Go Developer Survey

auth

package
v1.0.74 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAuthToken

func BuildAuthToken(ctx context.Context, sess *session.Session, dbUser, instanceId string, expires int) (string, error)

BuildAuthToken will return an authorization token used as the password for a DB connection.

* sess - session.Session containing Credentials, Region, and DisableSSL settings * dbUser - User account within the database to sign in with * instanceId - The database instance identifier * expires - Expiration time in seconds (if <= 0, defaults to 900 seconds/15 minutes)

Types

This section is empty.

Jump to

Keyboard shortcuts

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