Back to godoc.org
github.com/hashicorp/vault / builtin / logical / database

package database

v1.4.3
Latest Go to latest
Published: Jul 2, 2020 | License: MPL-2.0 | Module: github.com/hashicorp/vault

Index

Constants

const SecretCredsType = "creds"

func Backend

func Backend(conf *logical.BackendConfig) *databaseBackend

func Factory

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

type DatabaseConfig

type DatabaseConfig struct {
	PluginName string `json:"plugin_name" structs:"plugin_name" mapstructure:"plugin_name"`

	ConnectionDetails map[string]interface{} `json:"connection_details" structs:"connection_details" mapstructure:"connection_details"`
	AllowedRoles      []string               `json:"allowed_roles" structs:"allowed_roles" mapstructure:"allowed_roles"`

	RootCredentialsRotateStatements []string "" /* 136 byte string literal not displayed */
}

DatabaseConfig is used by the Factory function to configure a Database object.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier