Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Confusing error message when using invalid credentials in ProviderConfig #56

Open
AaronME opened this issue Apr 6, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@AaronME
Copy link

AaronME commented Apr 6, 2022

What happened?

Received the following error while attempting to deploy a resource using provider-jet-gcp:

{"error":"invalid_grant","error_description":"Invalid JWT Signature."}

How can we reproduce it?

The problem turned out to be a ServiceAccountKey which had been deleted in the console.

To reproduce:

  • Create a serviceaccountkey
  • Download the credentials.json
  • Configure a secret and providerConfig with this credentials.json file
  • Delete the serviceaccountkey in the gcp console
  • Attempt to provision a resource

Creating a new key and updating the secret cleared the error.

What environment did it happen in?

Crossplane version: 1.6.1-up.1
Provider version: v0.2.0-preview

@AaronME AaronME added the bug Something isn't working label Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant