mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 23:50:32 +00:00
18 lines
298 B
Go
18 lines
298 B
Go
|
// +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"))
|
||
|
}
|