We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
option.WithAuthCredentialsFile
1 parent cf8479d commit 9fe50b0Copy full SHA for 9fe50b0
cas/cloudcas/cloudcas.go
@@ -90,7 +90,7 @@ type CloudCAS struct {
90
var newCertificateAuthorityClient = func(ctx context.Context, credentialsFile string) (CertificateAuthorityClient, error) {
91
var cloudOpts []option.ClientOption
92
if credentialsFile != "" {
93
- cloudOpts = append(cloudOpts, option.WithCredentialsFile(credentialsFile))
+ cloudOpts = append(cloudOpts, option.WithAuthCredentialsFile(option.ServiceAccount, credentialsFile))
94
}
95
client, err := privateca.NewCertificateAuthorityClient(ctx, cloudOpts...)
96
if err != nil {
0 commit comments