mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
17 lines
290 B
Go
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"))
|
|
}
|