Bengi
Bengi

Reputation: 51

Google Cloud Platform key expiry date problem

When I upload the key I created for the service account in Google Cloud Platform when I am doing Android EMM Registration with G-Suite in VMWare Airwatch, I get an error "The added or subtracted value results in an unrepresentable DateTime. Parameter name: value".

In Google Cloud Platform, the key expiry date is automatic 1 January 10000. How can I fix this or is there any other way to register with G-Suite?

Airwatch is accepting P12 key file, not JSON. I'm having this problem when uploading the P12 file to Airwatch.

Upvotes: 0

Views: 5001

Answers (1)

Mahboob
Mahboob

Reputation: 1955

Follow this guide on how to create a JSON key in service account.

Below command shows the expiration date expiration show

gcloud iam service-accounts keys list --iam-account <sa-name>@<project-id>.iam.gserviceaccount.com

Also, if you are using a user managed service account, there is no expiration date on other words we can say forever.

I would recommend you use a user managed key and create a new Key. Creating a new key might have expiry like Dec 31, 9999 I hope will work for your use case.

Upvotes: 1

Related Questions