Skip to content

Commit 2f16b8f

Browse files
committed
Minor updates
1 parent 9467819 commit 2f16b8f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/guides/operations/gcp-kms-signer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ gcloud kms keys create signer \
2424
--location=global \
2525
--keyring=ev-node \
2626
--purpose=asymmetric-signing \
27-
--default-algorithm=ed25519
27+
--default-algorithm=ec-sign-ed25519
2828
```
2929

3030
Get key version resource name:

pkg/signer/gcp/signer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func NewKmsSigner(ctx context.Context, keyName string, opts *Options) (*KmsSigne
8484

8585
var clientOpts []option.ClientOption
8686
if opts != nil && opts.CredentialsFile != "" {
87-
clientOpts = append(clientOpts, option.WithCredentialsFile(opts.CredentialsFile))
87+
clientOpts = append(clientOpts, option.WithAuthCredentialsFile(option.ServiceAccount, opts.CredentialsFile))
8888
}
8989

9090
client, err := kms.NewKeyManagementClient(ctx, clientOpts...)

0 commit comments

Comments
 (0)