Secret Manager - Project not found

60 views
Skip to first unread message

Marwan abdel moneim

unread,
Jan 31, 2020, 8:59:34 AM1/31/20
to Google App Engine
When I call `CreateSecret`, I receive the following error:

rpc error: code = NotFound desc = Project 'project-id' not found.. .
failed to create secret
: rpc error: code = NotFound desc = Project 'project-id' not found..

I already added the secret manager admin role.

Marwan abdel moneim

unread,
Jan 31, 2020, 8:59:35 AM1/31/20
to Google App Engine
I use Go, and have the 'Secret manager admin' role enabled. But I receive the following error when calling `CreateSecret`:

Digil(Google Cloud Platform Support)

unread,
Jan 31, 2020, 2:49:53 PM1/31/20
to Google App Engine
It looks like you are following this documentation for creating a secret. By looking at the error code 'Project 'project-id' not found.', it does seems like you are missing the Project ID (on which you are creating the secret) parameter in the Go language configuration. You might need to use a valid Project ID to execute this.
Reply all
Reply to author
Forward
0 new messages