@@ -171,6 +171,7 @@ def create(
171171 name : Optional [str ] | NotGiven = NOT_GIVEN ,
172172 prebuilt : Optional [str ] | NotGiven = NOT_GIVEN ,
173173 repo_connection_id : Optional [str ] | NotGiven = NOT_GIVEN ,
174+ secrets : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
174175 snapshot_id : Optional [str ] | NotGiven = NOT_GIVEN ,
175176 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
176177 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -218,6 +219,11 @@ def create(
218219
219220 repo_connection_id: Repository connection id the devbox should source its base image from.
220221
222+ secrets: (Optional) Map of environment variable names to secret names. The secret values
223+ will be securely injected as environment variables in the Devbox. Example:
224+ {"DB_PASS": "DATABASE_PASSWORD"} sets environment variable 'DB_PASS' to the
225+ value of secret 'DATABASE_PASSWORD'.
226+
221227 snapshot_id: Snapshot ID to use for the Devbox. Only one of (Snapshot ID, Blueprint ID,
222228 Blueprint name) should be specified.
223229
@@ -246,6 +252,7 @@ def create(
246252 "name" : name ,
247253 "prebuilt" : prebuilt ,
248254 "repo_connection_id" : repo_connection_id ,
255+ "secrets" : secrets ,
249256 "snapshot_id" : snapshot_id ,
250257 },
251258 devbox_create_params .DevboxCreateParams ,
@@ -1430,6 +1437,7 @@ async def create(
14301437 name : Optional [str ] | NotGiven = NOT_GIVEN ,
14311438 prebuilt : Optional [str ] | NotGiven = NOT_GIVEN ,
14321439 repo_connection_id : Optional [str ] | NotGiven = NOT_GIVEN ,
1440+ secrets : Optional [Dict [str , str ]] | NotGiven = NOT_GIVEN ,
14331441 snapshot_id : Optional [str ] | NotGiven = NOT_GIVEN ,
14341442 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
14351443 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1477,6 +1485,11 @@ async def create(
14771485
14781486 repo_connection_id: Repository connection id the devbox should source its base image from.
14791487
1488+ secrets: (Optional) Map of environment variable names to secret names. The secret values
1489+ will be securely injected as environment variables in the Devbox. Example:
1490+ {"DB_PASS": "DATABASE_PASSWORD"} sets environment variable 'DB_PASS' to the
1491+ value of secret 'DATABASE_PASSWORD'.
1492+
14801493 snapshot_id: Snapshot ID to use for the Devbox. Only one of (Snapshot ID, Blueprint ID,
14811494 Blueprint name) should be specified.
14821495
@@ -1505,6 +1518,7 @@ async def create(
15051518 "name" : name ,
15061519 "prebuilt" : prebuilt ,
15071520 "repo_connection_id" : repo_connection_id ,
1521+ "secrets" : secrets ,
15081522 "snapshot_id" : snapshot_id ,
15091523 },
15101524 devbox_create_params .DevboxCreateParams ,
0 commit comments