Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe.
I want to load my GCP credentials for the Cloud Function Service Client thru env variable of json string (that contains the contents of GCP credentials) but I can't find it here. Is it not supported?
Describe the solution you'd like
I would like a constructor for this client that uses a json string of the contents of the credentials file.
### JsonNode type
public static final CloudFunctionsServiceClient create(JsonNode credentials) throws IOException {
return create(CloudFunctionsServiceSettings.newBuilder().build());
}
### String type
public static final CloudFunctionsServiceClient create(String jsonCredentials) throws IOException {
return create(CloudFunctionsServiceSettings.newBuilder().build());
}
Describe alternatives you've considered
Used the file and the credential json file path set as an environment variable, but our security measures dictate that no credentials are to be saved as files.
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe. I want to load my GCP credentials for the Cloud Function Service Client thru env variable of json string (that contains the contents of GCP credentials) but I can't find it here. Is it not supported?
Describe the solution you'd like I would like a constructor for this client that uses a json string of the contents of the credentials file.
Describe alternatives you've considered Used the file and the credential json file path set as an environment variable, but our security measures dictate that no credentials are to be saved as files.