sftpgo/kms/gcp_disabled.go
2020-12-02 09:44:18 +01:00

17 lines
290 B
Go

// +build nogcpkms
package kms
import (
"errors"
"github.com/drakkan/sftpgo/version"
)
func init() {
version.AddFeature("-gcpkms")
}
func newGCPSecret(base baseSecret, url, masterKey string) SecretProvider {
return newDisabledSecret(errors.New("GCP KMS disabled at build time"))
}