class _SecretsManagerPlugin(temporalio.client.Plugin): (source)
Constructor: _SecretsManagerPlugin(ids, cache)
Undocumented
| Method | __init__ |
Undocumented |
| Method | configure |
Hook called when creating a client to allow modification of configuration. |
| Async Method | connect |
Hook called when connecting to the Temporal service. |
| Method | name |
Get the name of this plugin. Can be overridden if desired to provide a more appropriate name. |
| Async Method | _refresh |
Keep a service client's API key up to date while it is alive. |
| Instance Variable | _cache |
Undocumented |
| Instance Variable | _ids |
Undocumented |
| Instance Variable | _refresh |
Undocumented |
Inherited from Plugin:
| Method | version |
Get the version of this plugin. Can be overridden to provide a version. |
temporalio.client.ClientConfig) -> temporalio.client.ClientConfig:
(source)
¶
Hook called when creating a client to allow modification of configuration.
This method is called during client creation and allows plugins to modify the client configuration before the client is fully initialized. Plugins can add interceptors, modify connection parameters, or change other settings.
| Parameters | |
config:temporalio.client.ClientConfig | The client configuration dictionary to potentially modify. |
| Returns | |
temporalio.client.ClientConfig | The modified client configuration. |
temporalio.service.ConnectConfig, next: Callable[ [ temporalio.service.ConnectConfig], Awaitable[ temporalio.service.ServiceClient]]) -> temporalio.service.ServiceClient:
(source)
¶
Hook called when connecting to the Temporal service.
This method is called during service client connection and allows plugins to intercept or modify the connection process. Plugins can modify connection parameters, add authentication, or provide custom connection logic.
| Parameters | |
config:temporalio.service.ConnectConfig | The service connection configuration. |
next:Callable[ | Undocumented |
| Returns | |
temporalio.service.ServiceClient | The connected service client. |
temporalio.client.Plugin.nameGet the name of this plugin. Can be overridden if desired to provide a more appropriate name.
| Returns | |
str | The fully qualified name of the plugin class (module.classname). |
weakref.ref[ temporalio.service.ServiceClient], api_key: str | None, tel: Telemetry):
(source)
¶
Keep a service client's API key up to date while it is alive.
The task belongs to the event loop the client was connected on, so it stops when that loop does.