helper

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitNetworkingPrivateKey

func InitNetworkingPrivateKey(secretsManager secrets.SecretsManager) (libp2pCrypto.PrivKey, error)

func InitValidatorKey

func InitValidatorKey(secretsManager secrets.SecretsManager) (*ecdsa.PrivateKey, error)

func SetupAWSSSM

func SetupAWSSSM(
	secretsConfig *secrets.SecretsManagerConfig,
) (secrets.SecretsManager, error)

SetupAWSSSM is a helper method for boilerplate aws ssm secrets manager setup

func SetupGCPSSM added in v0.4.0

func SetupGCPSSM(
	secretsConfig *secrets.SecretsManagerConfig,
) (secrets.SecretsManager, error)

SetupGCPSSM is a helper method for boilerplate Google Cloud Computing secrets manager setup

func SetupHashicorpVault

func SetupHashicorpVault(
	secretsConfig *secrets.SecretsManagerConfig,
) (secrets.SecretsManager, error)

SetupHashicorpVault is a helper method for boilerplate hashicorp vault secrets manager setup

func SetupLocalSecretsManager

func SetupLocalSecretsManager(dataDir string) (secrets.SecretsManager, error)

SetupLocalSecretsManager is a helper method for boilerplate local secrets manager setup

Types

This section is empty.

Jump to

Keyboard shortcuts

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