Member-only story
INVALID_ARGUMENT: Login profile size exceeds 32 KiB [Fix]
Also, fix this issue if you are using impersonate-service-account
INVALID_ARGUMENT: Login profile size exceeds 32 KiB
error, a perplexing issue that can disrupt the flow of operations for those utilizing the impersonate-service-account feature. This blog post delves into the heart of this problem, unraveling its causes and providing a step-by-step guide to effectively resolve it, ensuring your work on GCP remains uninterrupted. I encountered this issue when I was trying to SSH into a GCP VM using impersonate-service-account
.
Reason
Login profile size exceeds 32 KiB. The login profile of your default service account for the service account that you are using to impersonate is full.
Check the login profiles
For your personal profile
Make sure you are logged in from your terminal: gcloud init
List: Will give you list of the login keys’s fingerprint
gcloud compute os-login ssh-keys list
Describe: Will give you list of the login keys’s fingerprint along with additional details
gcloud compute os-login describe-profile