mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
18 lines
293 B
Go
18 lines
293 B
Go
// +build nogcpkms
|
|
|
|
package kms
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/drakkan/sftpgo/v2/version"
|
|
)
|
|
|
|
func init() {
|
|
version.AddFeature("-gcpkms")
|
|
}
|
|
|
|
func newGCPSecret(base baseSecret, url, masterKey string) SecretProvider {
|
|
return newDisabledSecret(errors.New("GCP KMS disabled at build time"))
|
|
}
|