credentials

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewRelicLicenseKey

func GetNewRelicLicenseKey(conf *config.Configuration) (string, error)

GetNewRelicLicenseKey fetches the license key from AWS Secrets Manager, falling back to the NEW_RELIC_LICENSE_KEY environment variable if set.

func IsSecretConfigured added in v0.2.0

func IsSecretConfigured(conf *config.Configuration) bool

IsSecretConfigured returns true if the Secrets Maanger secret is configured, false otherwise

func OverrideSecretsManager added in v0.2.0

func OverrideSecretsManager(override secretsmanageriface.SecretsManagerAPI)

OverrideSecretsManager overrides the default Secrets Manager implementation

Types

This section is empty.

Jump to

Keyboard shortcuts

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