18 lines
310 B
Go
18 lines
310 B
Go
//go:build noawskms
|
|
// +build noawskms
|
|
|
|
package kms
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/drakkan/sftpgo/version"
|
|
)
|
|
|
|
func init() {
|
|
version.AddFeature("-awskms")
|
|
}
|
|
|
|
func newAWSSecret(base baseSecret, url, masterKey string) SecretProvider {
|
|
return newDisabledSecret(errors.New("AWS KMS disabled at build time"))
|
|
}
|