DefaultSecretStubInfo
Default secret stub metadata copied to new runtimes.
Shared
DefaultSecretStubInfo declaration
Section titled “DefaultSecretStubInfo declaration”class DefaultSecretStubInfo:DefaultSecretStubInfo construction
Section titled “DefaultSecretStubInfo construction”DefaultSecretStubInfo(id: str, host_pattern: str, path_pattern: str, stub_value_display_name: str, stub_config_json: str)DefaultSecretStubInfo attributes
Section titled “DefaultSecretStubInfo attributes”| Name | Type or value | Description |
|---|---|---|
id | str | Default secret-stub UUID. |
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. |
DefaultSecretStubInfo methods
Section titled “DefaultSecretStubInfo methods”from_json()
Section titled “from_json()”Create default secret-stub metadata from an API response payload.
def from_json(data: dict[str, Any]) -> 'DefaultSecretStubInfo'Parameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
data | dict[str, Any] | — | API response payload. |
Returns
Section titled “Returns”'DefaultSecretStubInfo'