Skip to content

Commit 5060bb1

Browse files
authored
feat(secret_manager): add s2s_vpn to product (#5088)
1 parent c660690 commit 5060bb1

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

cmd/scw/testdata/test-all-usage-secret-secret-add-owner-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ USAGE:
77

88
ARGS:
99
secret-id ID of the secret
10-
[product] ID of the product to add (unknown_product | edge_services)
10+
[product] ID of the product to add (unknown_product | edge_services | s2s_vpn)
1111
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1212

1313
FLAGS:

docs/commands/secret.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ scw secret secret add-owner <secret-id ...> [arg=value ...]
4444
| Name | | Description |
4545
|------|---|-------------|
4646
| secret-id | Required | ID of the secret |
47-
| product | One of: `unknown_product`, `edge_services` | ID of the product to add |
47+
| product | One of: `unknown_product`, `edge_services`, `s2s_vpn` | ID of the product to add |
4848
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
4949

5050

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/mattn/go-isatty v0.0.20
2424
github.com/moby/buildkit v0.25.1
2525
github.com/opencontainers/go-digest v1.0.0
26-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251024091811-f46054a61f65
26+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251027091309-bd66551413a9
2727
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
2828
github.com/spf13/cobra v1.10.1
2929
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
462462
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
463463
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
464464
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
465-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251024091811-f46054a61f65 h1:PFmz82c+uiCm7BY5JQGwR8R15LSqbitZAbEdd9SsFFY=
466-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251024091811-f46054a61f65/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA=
465+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251027091309-bd66551413a9 h1:mGfwXcngVnv7LLe36Ypjg22mNxrrnwEwPfKM5bWQyuQ=
466+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251027091309-bd66551413a9/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA=
467467
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
468468
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
469469
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/secret/v1beta1/secret_cli.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ func secretSecretAddOwner() *core.Command {
577577
EnumValues: []string{
578578
"unknown_product",
579579
"edge_services",
580+
"s2s_vpn",
580581
},
581582
},
582583
core.RegionArgSpec(

0 commit comments

Comments
 (0)