SecretStubInfo
Runtime-scoped secret stub metadata.
Shared
SecretStubInfo declaration
Section titled “SecretStubInfo declaration”class SecretStubInfo:SecretStubInfo construction
Section titled “SecretStubInfo construction”SecretStubInfo(id: str, runtime_display_name: str, host_pattern: str, path_pattern: str, stub_value_display_name: str, stub_config_json: str)SecretStubInfo attributes
Section titled “SecretStubInfo attributes”| Name | Type or value | Description |
|---|---|---|
id |
str |
Secret-stub UUID. |
runtime_display_name |
str |
Runtime that owns this stub. |
host_pattern |
str |
Outbound host pattern matched by the stub. |
path_pattern |
str |
Optional request path pattern matched by the stub. |
stub_value_display_name |
str |
Stored secret injected by the stub. |
stub_config_json |
str |
Serialized injection configuration. |
SecretStubInfo methods
Section titled “SecretStubInfo methods”from_json()
Section titled “from_json()”Create runtime secret-stub metadata from an API response payload.
def from_json(data: dict[str, Any]) -> 'SecretStubInfo'Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
data |
dict[str, Any] |
— |
API response payload. |
Returns
Section titled “Returns”'SecretStubInfo'
