Back to Aws Sdk Go

Example

example/service/rds/rdsutils/authentication/README.md

1.55.8300 B
Original Source

Example

This is an example using the AWS SDK for Go to create an Amazon RDS DB token using the rdsutils package.

Usage

sh
go run -tags example iam_authentication.go <region> <db user> <db name> <endpoint to database> <iam arn>

Output:

Successfully opened connection to database