Cant use firestore as storage type

have got the following error when tried to use firestore, can help

ERROR REPORT:
Original Error: *trace.BadParameterError unsupported secrets storage type: “firestore”
Stack Trace:
/gopath/src/github.com/gravitational/teleport/lib/service/service.go:2263 github.com/gravitational/tele
port/lib/service.(*TeleportProcess).initAuthStorage
/gopath/src/github.com/gravitational/teleport/lib/service/service.go:881 github.com/gravitational/telep
ort/lib/service.(*TeleportProcess).initAuthService
/gopath/src/github.com/gravitational/teleport/lib/service/service.go:637 github.com/gravitational/telep
ort/lib/service.NewTeleport
/gopath/src/github.com/gravitational/teleport/lib/service/service.go:387 github.com/gravitational/telep
ort/lib/service.newTeleportProcess
/gopath/src/github.com/gravitational/teleport/lib/service/service.go:397 github.com/gravitational/telep
ort/lib/service.Run
/gopath/src/github.com/gravitational/teleport/tool/teleport/common/teleport.go:181 github.com/gravitati
onal/teleport/tool/teleport/common.OnStart
/gopath/src/github.com/gravitational/teleport/tool/teleport/common/teleport.go:181 github.com/gravitati
onal/teleport/tool/teleport/common.OnStart
/gopath/src/github.com/gravitational/teleport/tool/teleport/main.go:29 main.main
/opt/go/src/runtime/proc.go:209 runtime.main
/opt/go/src/runtime/asm_amd64.s:1338 runtime.goexit
User Message: unsupported secrets storage type: “firestore”, initialization failed

teleport.yaml :

storage:
type: firestore
collection_name: teleport-state
credentials_path: /etc/gcs_creds.json
project_id: xxxx
audit_sessions_uri: ‘gs://teleport-sessions?credentialsPath=/etc/gcs_creds.json&projectID=xxxx’

thirukkumaran can you please run teleport version and let know which version you’re running.

teleport version
Teleport v4.1.0 git:v4.1.0-0-g3078799c go1.12.1

Firestore support was added in Teleport 4.2.0 - you’ll need to upgrade.

thanks, works in 4.2.0

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.