gcp

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GCPSecretType       string = "secret_type"
	GCPOAuthTokenScopes string = "token_scopes"
)
View Source
const DefaultGCPPath = "gcp"

Variables

This section is empty.

Functions

func GetGCPPath

func GetGCPPath(role *api.GCPRole) (string, error)

If gcp path does not exist, then use default gcp path

Types

type GCPRole

type GCPRole struct {
	// contains filtered or unexported fields
}

func (*GCPRole) CreateRole

func (a *GCPRole) CreateRole() error

Links: - https://www.vaultproject.io/api/secret/gcp/index.html#create-update-roleset Creates roleset

func (*GCPRole) DeleteRole

func (a *GCPRole) DeleteRole(name string) error

DeleteRole deletes role It's safe to call multiple time. It doesn't give error even if respective role doesn't exist

type GCPRoleInterface

type GCPRoleInterface interface {
	role.RoleInterface

	// DeleteRole deletes role
	DeleteRole(name string) error
}

Jump to

Keyboard shortcuts

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