Skip to content

Commit 3b4ca44

Browse files
authored
feat(secret_manager): add region to folders (#3465)
1 parent b73ba2a commit 3b4ca44

21 files changed

+88
-60
lines changed

cmd/scw/testdata/test-all-usage-secret-folder-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARGS:
99
[project-id] Project ID to use. If none is passed the default project ID will be used
1010
[name] Name of the folder
1111
[path] Path of the folder
12-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1313

1414
FLAGS:
1515
-h, --help help for create

cmd/scw/testdata/test-all-usage-secret-folder-delete-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
folder-id ID of the folder
10-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1111

1212
FLAGS:
1313
-h, --help help for delete

cmd/scw/testdata/test-all-usage-secret-folder-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARGS:
99
[project-id] Filter by Project ID (optional)
1010
[path] Filter by path (optional)
1111
[order-by] (created_at_asc | created_at_desc | name_asc | name_desc)
12-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
1313

1414
FLAGS:
1515
-h, --help help for list

cmd/scw/testdata/test-all-usage-secret-secret-create-usage.golden

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ EXAMPLES:
1010
scw secret secret create name=foobar description="$(cat <path/to/your/secret>)"
1111

1212
ARGS:
13-
[project-id] Project ID to use. If none is passed the default project ID will be used
14-
[name] Name of the secret
15-
[tags.{index}] List of the secret's tags
16-
[description] Description of the secret
17-
[type] Type of the secret (unknown_secret_type | opaque | certificate | key_value)
18-
[path] Path of the secret
19-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
13+
[project-id] Project ID to use. If none is passed the default project ID will be used
14+
[name] Name of the secret
15+
[tags.{index}] List of the secret's tags
16+
[description] Description of the secret
17+
[type] Type of the secret (unknown_secret_type | opaque | certificate | key_value)
18+
[path] Path of the secret
19+
[expires-at] Expiration date of the secret
20+
[ephemeral-action] Action to be taken when the secret expires (unknown_ephemeral_action | delete_secret | disable_secret)
21+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
2022

2123
FLAGS:
2224
-h, --help help for create

cmd/scw/testdata/test-all-usage-secret-secret-delete-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ EXAMPLES:
1111

1212
ARGS:
1313
secret-id ID of the secret
14-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1515

1616
FLAGS:
1717
-h, --help help for delete

cmd/scw/testdata/test-all-usage-secret-secret-get-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-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1111

1212
FLAGS:
1313
-h, --help help for get

cmd/scw/testdata/test-all-usage-secret-secret-list-usage.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ ARGS:
1212
[name] Filter by secret name (optional)
1313
[is-managed] Filter by managed / not managed (optional)
1414
[path] Filter by path (optional)
15+
[is-ephemeral] Filter by ephemeral / not ephemeral (optional)
1516
[organization-id] Filter by Organization ID (optional)
16-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
17+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
1718

1819
FLAGS:
1920
-h, --help help for list

cmd/scw/testdata/test-all-usage-secret-secret-update-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ARGS:
1111
[tags.{index}] Secret's updated list of tags (optional)
1212
[description] Description of the secret
1313
[path] Path of the folder
14-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1515

1616
FLAGS:
1717
-h, --help help for update

cmd/scw/testdata/test-all-usage-secret-version-access-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ USAGE:
88
ARGS:
99
secret-id ID of the secret
1010
revision Version number
11-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
[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:
1414
-h, --help help for access

cmd/scw/testdata/test-all-usage-secret-version-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ARGS:
1616
[password-generation.no-digits] Do not include digits by default in the alphabet
1717
[password-generation.additional-chars] Additional ascii characters to be included in the alphabet
1818
[data-crc32] (Optional.) The CRC32 checksum of the data as a base-10 integer
19-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
19+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
2020

2121
FLAGS:
2222
-h, --help help for create

0 commit comments

Comments
 (0)