serverless_aws_automation

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAgeEncryptionKeyInAWSSecretManager

func AddAgeEncryptionKeyInAWSSecretManager(ctx context.Context, awsAuth aws_aegis_auth.AuthAWS, ageEncryptionSecretName, agePubKey, agePrivKey string)

func AddExternalAccessKeysInAWSSecretManager

func AddExternalAccessKeysInAWSSecretManager(ctx context.Context, awsAuth aws_aegis_auth.AuthAWS, externalLambdaAccessKeysSecretName string, awsAuthExternal aws_aegis_auth.AuthAWS)

func AddExternalLambdaPolicyToUser

func AddExternalLambdaPolicyToUser(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func AddInternalLambdaPoliciesToRole

func AddInternalLambdaPoliciesToRole(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func AddMnemonicHDWalletSecretInAWSSecretManager

func AddMnemonicHDWalletSecretInAWSSecretManager(ctx context.Context, awsAuth aws_aegis_auth.AuthAWS, mnemonicAndHDWalletSecretName string, hdWalletPassword string, mnemonic string)

func CreateExternalLambdaUser

func CreateExternalLambdaUser(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func CreateExternalLambdaUserAccessKeys

func CreateExternalLambdaUserAccessKeys(ctx context.Context, auth aegis_aws_auth.AuthAWS) aegis_aws_auth.AuthAWS

func CreateHestiaValidatorsServiceRequest

func CreateHestiaValidatorsServiceRequest(ctx context.Context, keystoresPath filepaths.Path, sr hestia_req_types.ServiceRequestWrapper, bearerToken, feeRecipientAddr string)

func CreateInternalLambdaPolicy

func CreateInternalLambdaPolicy(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func CreateInternalLambdaRole

func CreateInternalLambdaRole(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func CreateInternalLambdaUser

func CreateInternalLambdaUser(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func CreateLambdaFunction

func CreateLambdaFunction(ctx context.Context, auth aegis_aws_auth.AuthAWS) string

func CreateLambdaFunctionKeystoresLayer

func CreateLambdaFunctionKeystoresLayer(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func ExternalUserRolePolicySetupForLambdaDeployment

func ExternalUserRolePolicySetupForLambdaDeployment(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func GetExternalAccessKeySecret

func GetExternalAccessKeySecret(ctx context.Context, awsAuth aws_aegis_auth.AuthAWS, sn string) (aws_aegis_auth.AuthAWS, error)

func GetExternalAccessKeySecretIfExists

func GetExternalAccessKeySecretIfExists(ctx context.Context, awsAuth aws_aegis_auth.AuthAWS, sn string) (aws_aegis_auth.AuthAWS, error)

func GetLambdaFunctionUrl

func GetLambdaFunctionUrl(ctx context.Context, auth aegis_aws_auth.AuthAWS) string

func GetSecret

func GetSecret(ctx context.Context, awsAuth aws_aegis_auth.AuthAWS, sn string) (map[string]string, error)

func InternalUserRolePolicySetupForLambdaDeployment

func InternalUserRolePolicySetupForLambdaDeployment(ctx context.Context, auth aegis_aws_auth.AuthAWS)

func UpdateExternalAccessKeySecret

func UpdateExternalAccessKeySecret(ctx context.Context, auth aws_aegis_auth.AuthAWS, externalLambdaAccessKeysSecretName string, extAuth aws_aegis_auth.AuthAWS)

func UpdateLambdaFunctionKeystoresLayer

func UpdateLambdaFunctionKeystoresLayer(ctx context.Context, auth aegis_aws_auth.AuthAWS, version string)

func VerifyLambdaSigner

func VerifyLambdaSigner(ctx context.Context, auth aegis_aws_auth.AuthAWS, keystoresPath filepaths.Path, funcUrl string, ageEncryptionSecretNameInSecretManager string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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