jx: github.com/jenkins-x/jx/pkg/cloud/amazon/vault Index | Files

package vault

import "github.com/jenkins-x/jx/pkg/cloud/amazon/vault"


Package Files

naming.go vault_backend.go vault_resources.go

func AwsServiceAccountSecretName Uses

func AwsServiceAccountSecretName(vaultName string) string

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

func CreateVaultResources Uses

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 Uses

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

CreateVaultResourcesBoot creates required Vault resources in AWS for a boot cluster

func StoreAWSCredentialsIntoSecret Uses

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

StoreAWSCredentialsIntoSecret stores AWS credentials into a secret

func WaitConfigFunc Uses

func WaitConfigFunc(waiter *request.Waiter)

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

type ResourceCreationOpts Uses

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 Uses

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

StackOutputs the CloudFormation stack outputs for Vault

Package vault imports 19 packages (graph) and is imported by 2 packages. Updated 2020-05-28. Refresh now. Tools for package owners.