gcpsecrets

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: MPL-2.0 Imports: 26 Imported by: 19

Documentation

Index

Constants

View Source
const SecretTypeAccessToken = "access_token"

EVERYTHING USING THIS SECRET TYPE IS CURRENTLY DEPRECATED. We keep it to allow for clean up of access_token secrets/leases that may have be left over by older versions of Vault.

View Source
const (
	SecretTypeKey = "service_account_key"
)

Variables

This section is empty.

Functions

func Backend

func Backend() *backend

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Factory returns a new backend as logical.Backend.

Types

type ResourceBindings

type ResourceBindings map[string]util.StringSet

type RoleSet

type RoleSet struct {
	Name       string
	SecretType string

	RawBindings string
	Bindings    ResourceBindings

	AccountId *gcputil.ServiceAccountId
	TokenGen  *TokenGenerator
}

type TokenGenerator

type TokenGenerator struct {
	KeyName    string
	B64KeyJSON string

	Scopes []string
}

Directories

Path Synopsis
THIS FILE IS AUTOGENERATED USING go generate.
THIS FILE IS AUTOGENERATED USING go generate.

Jump to

Keyboard shortcuts

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