lambdasecretsmanager

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionSecretLink(
	iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service],
	ec2ServiceFactory pluginutils.ServiceFactory[*aws.Config, ec2service.Service],
) func(FunctionToSecretLinkDeps) provider.Link

FunctionSecretLink returns a link implementation for a link from a Lambda function to a Secrets Manager secret. The Lambda function is granted access to the secret and, optionally, an environment variable referencing the secret ARN. When the function is VPC-isolated, a Secrets Manager interface VPC endpoint is activated on the linked flex VPC.

Types

type FunctionToSecretLinkDeps

FunctionToSecretLinkDeps is a type alias for the core dependencies for a link from a Lambda function to a Secrets Manager secret. The secret is a Cloud Control–backed resource, so resource B's service is the Cloud Control service; the link only reads the secret ARN from state and does not call it.

Jump to

Keyboard shortcuts

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