The client authenticates with serviceAccountJson when it is set, then with
authToken, and otherwise with application default credentials.
@google-cloud/secret-manager is an optional peer dependency. It is loaded
on the first call to SecretManagerClient.getSecret, so constructing
the client does not require it.
Reads secrets from Google Cloud Secret Manager.
The client authenticates with
serviceAccountJsonwhen it is set, then withauthToken, and otherwise with application default credentials.@google-cloud/secret-manageris an optional peer dependency. It is loaded on the first call to SecretManagerClient.getSecret, so constructing the client does not require it.