Skip to content

Commit bb8605c

Browse files
authored
Add DisableSSHCAUser and DisableSSHCAHost options to linkedca GCP provisioner (#2045)
* Add DisableSSHCAUser and DisableSSHCAHost options to linkedca GCP provisioner
1 parent 34ba7a2 commit bb8605c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

authority/provisioners.go

+4
Original file line numberDiff line numberDiff line change
@@ -955,6 +955,8 @@ func ProvisionerToCertificates(p *linkedca.Provisioner) (provisioner.Interface,
955955
ProjectIDs: cfg.ProjectIds,
956956
DisableCustomSANs: cfg.DisableCustomSans,
957957
DisableTrustOnFirstUse: cfg.DisableTrustOnFirstUse,
958+
DisableSSHCAUser: cfg.DisableSshCaUser,
959+
DisableSSHCAHost: cfg.DisableSshCaHost,
958960
InstanceAge: instanceAge,
959961
Claims: claims,
960962
Options: options,
@@ -1095,6 +1097,8 @@ func ProvisionerToLinkedca(p provisioner.Interface) (*linkedca.Provisioner, erro
10951097
ProjectIds: p.ProjectIDs,
10961098
DisableCustomSans: p.DisableCustomSANs,
10971099
DisableTrustOnFirstUse: p.DisableTrustOnFirstUse,
1100+
DisableSshCaUser: p.DisableSSHCAUser,
1101+
DisableSshCaHost: p.DisableSSHCAHost,
10981102
InstanceAge: p.InstanceAge.String(),
10991103
},
11001104
},

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ require (
3636
github.com/stretchr/testify v1.9.0
3737
github.com/urfave/cli v1.22.16
3838
go.step.sm/crypto v0.54.0
39-
go.step.sm/linkedca v0.22.1
39+
go.step.sm/linkedca v0.22.2
4040
golang.org/x/crypto v0.28.0
4141
golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81
4242
golang.org/x/net v0.30.0

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,8 @@ go.step.sm/crypto v0.54.0 h1:V8p+12Ld0NRA/RBMYoKXA0dWmVKZSdCwP56IwzweT9g=
440440
go.step.sm/crypto v0.54.0/go.mod h1:vQJyTngfZDW+UyZdFzOMCY/txWDAmcwViEUC7Gn4YfU=
441441
go.step.sm/linkedca v0.22.1 h1:GvprpH9P4Sv9U+eZ3bxDgRSSpW14cFDYpe1kS6yWLkw=
442442
go.step.sm/linkedca v0.22.1/go.mod h1:dOKdF4HSn73YUEkfS5/FECngZmBtj2Il5DTKWXY4S6Y=
443+
go.step.sm/linkedca v0.22.2 h1:zmFIyDC77gFHo6FLQJ8OIXYpLYDIsgDWaYqtYs6A9/Q=
444+
go.step.sm/linkedca v0.22.2/go.mod h1:ESY8r5VfhJA8ZVzI6hXIQcEX9LwaY3aoPnT+Hb9jpbw=
443445
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
444446
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
445447
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=

0 commit comments

Comments
 (0)