Reset vault gcp auth to Application Default Credentials

I have configured GCP auth method to use some IAM role credentials, but now I want to switch this credentials to Application Default Credentials. As I understand from documentation -

If this value is empty, Vault will try to use [Application Default Credentials] (https://developers.google.com/identity/protocols/application-default-credentials) from the machine on which the Vault server is running.

So i’ve tried to delete credentials, or set it to “” but seems like its impossible. Whats the right way to do it?

vault delete auth/gcp/config
`Error deleting auth/gcp/config: Error making API request.

URL: DELETE https://vault.test/v1/auth/gcp/config
Code: 405. Errors:

  • 1 error occurred:
    • unsupported operation`

`vault write auth/gcp/config credentials=""
Error writing data to auth/gcp/config: Error making API request.

URL: PUT https://vault.test/v1/auth/gcp/config
Code: 400. Errors:

  • 1 error occurred:
    • failed to read credentials: unexpected end of JSON input`

`vault write auth/gcp/config credentials="{}"
Error writing data to auth/gcp/config: Error making API request.

URL: PUT https://vault.test/v1/auth/gcp/config
Code: 400. Errors:

  • 1 error occurred:
    • missing private key in credentials`

It seems that this isn’t currently possible. If you believe that this is a bug, please file an issue on our plugin repository.