Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
options.CommonOptions
// Kubernetes auth role to use
Role string
// Template file to be rendered
TemplateFileName string
// Location of the output file
OutputFileName string
// Secrets file location, where the secret leases are stored
SecretsOutputFileName string
// Optional, for setting variables to test the templating without vault connection.
Variables map[string]string
}
Options customizes the parameters of templating.
type VaultifyTemplate ¶
type VaultifyTemplate struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger hclog.Logger, secretReader secrets.SecretReader) *VaultifyTemplate
func (*VaultifyTemplate) RenderToFile ¶
Click to show internal directories.
Click to hide internal directories.