mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
18 lines
310 B
Go
18 lines
310 B
Go
//go:build nogcpkms
|
|
// +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"))
|
|
}
|