Skip to main content

format_with_option_secret_resolved

Function format_with_option_secret_resolved 

Source
pub async fn format_with_option_secret_resolved(
    txn: &DatabaseTransaction,
    options_with_secret: &WithOptionsSecResolved,
) -> MetaResult<Vec<SqlOption>>
Expand description

Formats SQL options with secret values properly resolved.

This function processes configuration options that may contain sensitive data:

  • Plaintext options are directly converted to SqlOption.
  • Secret options are retrieved from the database and formatted as SECRET {name} without exposing the actual secret value.