Application Default Credentials are not supported out of the box – How to solve this Elasticsearch error

Opster Team

Aug-23,

Log Context

Log “\”Application Default Credentials\”” are not supported out of the box.”” classname is GoogleCloudStorageService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        }
        if (Strings.hasLength(clientSettings.getProjectId())) {
            storageOptionsBuilder.setProjectId(clientSettings.getProjectId());
        }
        if (clientSettings.getCredential() == null) {
            logger.warn("\"Application Default Credentials\"" are not supported out of the box.""

 

 [ratemypost]