AsyncRuntimeSecretManager
Configures runtime secret-injection stubs asynchronously.
Async · Sync counterpart:
RuntimeSecretManager
AsyncRuntimeSecretManager declaration
Section titled “AsyncRuntimeSecretManager declaration”class AsyncRuntimeSecretManager(_SdkOwnedHandle):AsyncRuntimeSecretManager access
Section titled “AsyncRuntimeSecretManager access”This type is created by the SDK; do not construct it directly.
manager = runtime.secretsAsyncRuntimeSecretManager methods
Section titled “AsyncRuntimeSecretManager methods”set_secret_stub()
Section titled “set_secret_stub()”Create or replace a secret-injection stub for this runtime.
async def set_secret_stub(url: str, path: str | None = None, config: SecretStubConfig | Mapping[str, str] | None = None) -> SecretStubInfoParameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
url | str | — | URL whose credentials should be injected. |
path | str | None | None | Path inside the runtime. |
config | SecretStubConfig | Mapping[str, str] | None | None | Secret-injection configuration. |
Returns
Section titled “Returns”SecretStubInfo
list_secret_stubs()
Section titled “list_secret_stubs()”List secret-injection stubs for this runtime.
async def list_secret_stubs() -> list[SecretStubInfo]Returns
Section titled “Returns”list[SecretStubInfo]
get_secret_stub()
Section titled “get_secret_stub()”Resolve a runtime secret-injection stub by UUID.
async def get_secret_stub(id: str) -> SecretStubInfoParameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
id | str | — | Resource UUID or display name. |
Returns
Section titled “Returns”SecretStubInfo
delete_secret_stub()
Section titled “delete_secret_stub()”Delete a runtime secret-injection stub by UUID.
async def delete_secret_stub(id: str) -> NoneParameters
Section titled “Parameters”| Name | Type | Default | Description |
|---|---|---|---|
id | str | — | Resource UUID or display name. |