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

package vault

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


Package Files



const (

    //DefaultVaultAbbreviation is vault service accounts suffix
    DefaultVaultAbbreviation = "vt"


var (
    ServiceAccountRoles = []string{"roles/storage.objectAdmin",

func CreateBucket Uses

func CreateBucket(gcloud gke.GClouder, vaultName, bucketName string, projectID, zone string, recreate bool, batchMode bool, handles util.IOFileHandles) (string, error)

CreateBucket Creates a bucket in GKE to store the backend (encrypted) data for vault

func CreateVaultGCPServiceAccount Uses

func CreateVaultGCPServiceAccount(gcloud gke.GClouder, kubeClient kubernetes.Interface, vaultName, namespace, clusterName, projectID string) (string, error)

CreateGCPServiceAccount creates a service account in GCP for the vault service

type KmsConfig Uses

type KmsConfig struct {
    Keyring  string
    Key      string
    Location string
    // contains filtered or unexported fields

KmsConfig keeps the configuration for Google KMS service

func CreateKmsConfig Uses

func CreateKmsConfig(gcloud gke.GClouder, vaultName, keyringName string, keyName string, projectID string) (*KmsConfig, error)

CreateKmsConfig creates a KMS config for the GKE Vault

Package vault imports 6 packages (graph) and is imported by 2 packages. Updated 2019-10-29. Refresh now. Tools for package owners.