Hi again! I’ve got a Prefect2.0 `prefect-gcp` auth...
# prefect-community
b
Hi again! I’ve got a Prefect2.0
prefect-gcp
authentication issue/question. I’m trying to follow the example docs, but getting an error Importing
GcpCredentials
:
NameError: name 'SecretManagerServiceClient' is not defined
. FIY the prefect1.0 GCP/bigquery tasks are working fine in my environment. Any advise?
k
Which sample are you following? The one here ?
a
Hey @Bob Colner! Did you install
prefect-gcp
with the
secret_manager
extra? That’s necessary to make sure that the underlying GCP secret manager library is installed.
I did not install the
secret_manager
, let me try that
I don’t see this documented btw
cool,
pip install "prefect-gcp[secret_manager]"
did the trick!
a
Thanks for letting us know! I created a PR to improve installation instructions https://github.com/PrefectHQ/prefect-gcp/pull/18