Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Timeout creating client in Google Cloud Function #12

@adambozson

Description

@adambozson

I'm using service accounts set up and linked as per the documentation.
Setting the environment variable SECRETHUB_IDENTITY_PROVIDER=gcp, the python API works as expected inside containers running on GCP, e.g. in Cloud Run, under this service account.

I would like to access secrets inside serverless functions with python. Running the following in a Python 3.8 Google Cloud Function results in a hang and timeout:

import secrethub
client = secrethub.Client()

I have the appropriate service account and environment variable set on the Cloud Function. Egress is allowed to the internet. The secrethub package version is 0.1.1. Any tips would be appreciated (or even if someone could reproduce this), thanks!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions