diff --git a/cmd/scw/testdata/test-all-usage-secret-secret-add-owner-usage.golden b/cmd/scw/testdata/test-all-usage-secret-secret-add-owner-usage.golden index 70c5bb5fdf..7fa0265959 100644 --- a/cmd/scw/testdata/test-all-usage-secret-secret-add-owner-usage.golden +++ b/cmd/scw/testdata/test-all-usage-secret-secret-add-owner-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: secret-id ID of the secret - [product] ID of the product to add (unknown_product | edge_services) + [product] ID of the product to add (unknown_product | edge_services | s2s_vpn) [region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw) FLAGS: diff --git a/docs/commands/secret.md b/docs/commands/secret.md index f84fd99724..235803b317 100644 --- a/docs/commands/secret.md +++ b/docs/commands/secret.md @@ -44,7 +44,7 @@ scw secret secret add-owner [arg=value ...] | Name | | Description | |------|---|-------------| | secret-id | Required | ID of the secret | -| product | One of: `unknown_product`, `edge_services` | ID of the product to add | +| product | One of: `unknown_product`, `edge_services`, `s2s_vpn` | ID of the product to add | | region | Default: `fr-par`
One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config | diff --git a/go.mod b/go.mod index ecdd0326ad..e2d9e924e5 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.25.1 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251024091811-f46054a61f65 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251027091309-bd66551413a9 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.1 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index e959827594..d60120f25f 100644 --- a/go.sum +++ b/go.sum @@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251024091811-f46054a61f65 h1:PFmz82c+uiCm7BY5JQGwR8R15LSqbitZAbEdd9SsFFY= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251024091811-f46054a61f65/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251027091309-bd66551413a9 h1:mGfwXcngVnv7LLe36Ypjg22mNxrrnwEwPfKM5bWQyuQ= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251027091309-bd66551413a9/go.mod h1:SVm1Zk6UpZtqZN6KtEQpjC+v+Lir4tyVfhQTU19q3PA= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/secret/v1beta1/secret_cli.go b/internal/namespaces/secret/v1beta1/secret_cli.go index 363df7123f..ab3223fb5b 100644 --- a/internal/namespaces/secret/v1beta1/secret_cli.go +++ b/internal/namespaces/secret/v1beta1/secret_cli.go @@ -577,6 +577,7 @@ func secretSecretAddOwner() *core.Command { EnumValues: []string{ "unknown_product", "edge_services", + "s2s_vpn", }, }, core.RegionArgSpec(