Documentation
¶
Index ¶
- func Audit(ctx *context.Context)
- func CreateSecret(ctx *context.Context)
- func CreateToken(ctx *context.Context)
- func DeleteSecret(ctx *context.Context)
- func IsVaultAvailable() bool
- func IsVaultEnabled() bool
- func List(ctx *context.Context)
- func NewSecret(ctx *context.Context)
- func RestoreSecret(ctx *context.Context)
- func RevokeToken(ctx *context.Context)
- func Rollback(ctx *context.Context)
- func Tokens(ctx *context.Context)
- func UpdateSecret(ctx *context.Context)
- func Versions(ctx *context.Context)
- func View(ctx *context.Context)
- type CreateSecretForm
- type CreateTokenForm
- type RollbackForm
- type UpdateSecretForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsVaultAvailable ¶
func IsVaultAvailable() bool
IsVaultAvailable returns true if the vault plugin is registered
func IsVaultEnabled ¶
func IsVaultEnabled() bool
IsVaultEnabled returns true if the vault plugin is registered Note: This no longer checks licensing since Solo tier is free by default
func RestoreSecret ¶
RestoreSecret handles secret restoration
Types ¶
type CreateSecretForm ¶
type CreateSecretForm struct {
Name string `binding:"Required;MaxSize(255)"`
Description string `binding:"MaxSize(500)"`
Type string `binding:"Required;In(env-file,key-value,file,certificate,ssh-key)"`
Value string `binding:"Required"`
}
Forms for vault operations
type CreateTokenForm ¶
Source Files
¶
- vault.go
Click to show internal directories.
Click to hide internal directories.