https://pulumi.com logo
#general
Title
# general
n

nice-hamburger-80052

04/27/2021, 7:29 AM
Hi together, I am trying to access the gcp cloudasset api with the google native providers. However, I always get an error 403. I have already tried the following: gcloud auth application-default login gcloud auth activate-service-account gcloud config set billing/quota_project gcloud config set auth/impersonate_service_account
error sending request: googleapi: Error 403: Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the <http://cloudasset.googleapis.com|cloudasset.googleapis.com>. We recommend configuring the billing/quota_project setting in gcloud or using a service account through the auth/impersonate_service_account setting. For more information about service accounts and how to use them in your application, see <https://cloud.google.com/docs/authentication/>.
l

little-cartoon-10569

04/27/2021, 7:33 AM
Are you using a user account or a service account? That link says that you must use a service account.
n

nice-hamburger-80052

04/27/2021, 7:33 AM
i am trying with both
l

little-cartoon-10569

04/27/2021, 7:34 AM
You may find more specific help over in #gcp
8 Views