pub fn StoreSecret(
ExtensionIdentifier: String,
Key: String,
Value: String,
) -> ActionEffect<Arc<dyn SecretProvider>, CommonError, ()>Expand description
Creates an effect that, when executed, will store a secret in the host’s secure storage (e.g., OS keychain).
It uses the SecretProvider capability from the environment to perform the
actual storage operation.
§Parameters
ExtensionIdentifier: The ID of the extension that owns the secret.Key: The key to store the secret under.Value: The secret string to be stored.
§Returns
An ActionEffect that resolves to () on success.