secretsmanagerservice

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// GetSecretValue retrieves the contents of the encrypted SecretString (or
	// SecretBinary) field for a secret, identified by name or ARN.
	GetSecretValue(ctx context.Context, params *secretsmanager.GetSecretValueInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.GetSecretValueOutput, error)
}

Service is an interface that represents the functionality of the AWS Secrets Manager service used by the hand-written link implementations. Secrets themselves are Cloud Control–backed; this interface covers reading a secret's value at deploy time (which Cloud Control cannot surface, as generateSecretString/secretString are write-only and never exposed as a computed output).

func NewService

func NewService(awsConfig *aws.Config, providerContext provider.Context) Service

NewService creates a new instance of the AWS Secrets Manager service based on the provided AWS configuration.

Jump to

Keyboard shortcuts

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