Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AWSIAM ¶ added in v1.14.0
type AWSIAM struct { // Ignored by metadata parser because included in built-in authentication profile // Access key to use for accessing PostgreSQL. AWSAccessKey string `json:"awsAccessKey" mapstructure:"awsAccessKey"` // Secret key to use for accessing PostgreSQL. AWSSecretKey string `json:"awsSecretKey" mapstructure:"awsSecretKey"` // AWS region in which PostgreSQL is deployed. AWSRegion string `json:"awsRegion" mapstructure:"awsRegion"` }
type AWSIAMAuthOptions ¶ added in v1.14.0
type AWSIAMAuthOptions struct { PoolConfig *pgxpool.Config `json:"poolConfig" mapstructure:"poolConfig"` ConnectionString string `json:"connectionString" mapstructure:"connectionString"` Region string `json:"region" mapstructure:"region"` AccessKey string `json:"accessKey" mapstructure:"accessKey"` SecretKey string `json:"secretKey" mapstructure:"secretKey"` }
func (*AWSIAMAuthOptions) GetAccessToken ¶ added in v1.14.0
func (opts *AWSIAMAuthOptions) GetAccessToken(ctx context.Context) (string, error)
func (*AWSIAMAuthOptions) InitiateAWSIAMAuth ¶ added in v1.14.0
func (opts *AWSIAMAuthOptions) InitiateAWSIAMAuth() error
type EnvironmentSettings ¶ added in v1.14.0
func NewEnvironmentSettings ¶ added in v1.14.0
func NewEnvironmentSettings(md map[string]string) (EnvironmentSettings, error)
NewEnvironmentSettings returns a new EnvironmentSettings configured for a given AWS resource.
Click to show internal directories.
Click to hide internal directories.