@@ -56,6 +56,7 @@ def create(
5656 * ,
5757 api_only : bool | Omit = omit ,
5858 container_registry_basic_auth_host : str | Omit = omit ,
59+ credential_proxy : secret_create_params .CredentialProxy | Omit = omit ,
5960 environment_variable : bool | Omit = omit ,
6061 file_path : str | Omit = omit ,
6162 name : str | Omit = omit ,
@@ -122,6 +123,13 @@ def create(
122123 container_registry_basic_auth_host: secret will be mounted as a docker config in the environment VM, mount will have
123124 the docker registry host
124125
126+ credential_proxy: credential_proxy configures transparent credential injection when environments
127+ materialize this secret. When set, the credential proxy intercepts HTTPS traffic
128+ to the target hosts and replaces the dummy mounted value with the real value in
129+ the specified HTTP header. The real secret value is never exposed in the
130+ environment. This field is orthogonal to mount — a secret can be both mounted
131+ and proxied at the same time.
132+
125133 environment_variable: secret will be created as an Environment Variable with the same name as the
126134 secret
127135
@@ -152,6 +160,7 @@ def create(
152160 {
153161 "api_only" : api_only ,
154162 "container_registry_basic_auth_host" : container_registry_basic_auth_host ,
163+ "credential_proxy" : credential_proxy ,
155164 "environment_variable" : environment_variable ,
156165 "file_path" : file_path ,
157166 "name" : name ,
@@ -432,6 +441,7 @@ async def create(
432441 * ,
433442 api_only : bool | Omit = omit ,
434443 container_registry_basic_auth_host : str | Omit = omit ,
444+ credential_proxy : secret_create_params .CredentialProxy | Omit = omit ,
435445 environment_variable : bool | Omit = omit ,
436446 file_path : str | Omit = omit ,
437447 name : str | Omit = omit ,
@@ -498,6 +508,13 @@ async def create(
498508 container_registry_basic_auth_host: secret will be mounted as a docker config in the environment VM, mount will have
499509 the docker registry host
500510
511+ credential_proxy: credential_proxy configures transparent credential injection when environments
512+ materialize this secret. When set, the credential proxy intercepts HTTPS traffic
513+ to the target hosts and replaces the dummy mounted value with the real value in
514+ the specified HTTP header. The real secret value is never exposed in the
515+ environment. This field is orthogonal to mount — a secret can be both mounted
516+ and proxied at the same time.
517+
501518 environment_variable: secret will be created as an Environment Variable with the same name as the
502519 secret
503520
@@ -528,6 +545,7 @@ async def create(
528545 {
529546 "api_only" : api_only ,
530547 "container_registry_basic_auth_host" : container_registry_basic_auth_host ,
548+ "credential_proxy" : credential_proxy ,
531549 "environment_variable" : environment_variable ,
532550 "file_path" : file_path ,
533551 "name" : name ,
0 commit comments