vault

package
v2.1.97 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsServiceAccountSecretName

func AwsServiceAccountSecretName(vaultName string) string

AwsServiceAccountSecretName builds the secret name where the AWS service account is stored

func CreateVaultResources

func CreateVaultResources(vaultParams ResourceCreationOpts) (*string, *string, *string, *string, *string, error)

CreateVaultResources will automatically create the prerequisites for vault on aws Deprecated Will be deleted once we don't support jx install

func CreateVaultResourcesBoot

func CreateVaultResourcesBoot(vaultParams ResourceCreationOpts) (*string, *string, *string, *string, *string, error)

CreateVaultResourcesBoot creates required Vault resources in AWS for a boot cluster

func StoreAWSCredentialsIntoSecret

func StoreAWSCredentialsIntoSecret(client kubernetes.Interface, awsAccessKeyID, awsSecretAccessKey, vaultName, namespace string) (string, error)

StoreAWSCredentialsIntoSecret stores AWS credentials into a secret

func WaitConfigFunc

func WaitConfigFunc(waiter *request.Waiter)

WaitConfigFunc function that configures a waiter for an AWS request with a 10 minute timeout

Types

type ResourceCreationOpts

type ResourceCreationOpts struct {
	Region          string
	Domain          string
	Username        string
	TableName       string
	BucketName      string
	AWSTemplatesDir string
	UniqueSuffix    string
	AccessKeyID     string
	SecretAccessKey string
}

ResourceCreationOpts The input parameters to create a vault by default on aws

type StackOutputs

type StackOutputs struct {
	KMSKeyARN        *string
	S3BucketARN      *string
	DynamoDBTableARN *string
}

StackOutputs the CloudFormation stack outputs for Vault

Jump to

Keyboard shortcuts

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