2021-09-09 17:43:00 +00:00
|
|
|
//go:build novaultkms
|
2020-12-02 08:44:18 +00:00
|
|
|
// +build novaultkms
|
|
|
|
|
|
|
|
package kms
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
|
|
|
"github.com/drakkan/sftpgo/version"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
version.AddFeature("-vaultkms")
|
|
|
|
}
|
|
|
|
|
|
|
|
func newVaultSecret(base baseSecret, url, masterKey string) SecretProvider {
|
|
|
|
return newDisabledSecret(errors.New("Vault KMS disabled at build time"))
|
|
|
|
}
|