secretmanager

package
v2.25.2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module is a fx module that provides secret manager instance.

Types

type SecretManagerClient

type SecretManagerClient struct {
	Client       *secretmanager.Client
	GCPProjectID string
	ProjectID    string
}

SecretManagerClient is a wrapper around secretmanager.Client.

type SecretManagerClientIn

type SecretManagerClientIn struct {
	fx.In
	Shutdowner             fx.Shutdowner
	Lifecycle              fx.Lifecycle
	InstallationModeConfig *agentinfo.InstallationModeConfig `optional:"true"`
}

SecretManagerClientIn holds parameters for provideSecretManagerClient.

Jump to

Keyboard shortcuts

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