Astarte.RPC.Config.amqp_connection_ssl_custom_sni

You're seeing just the function amqp_connection_ssl_custom_sni, go back to Astarte.RPC.Config module for more information.
Link to this function

amqp_connection_ssl_custom_sni(namespace \\ nil)

View Source

Specs

amqp_connection_ssl_custom_sni(Skogsra.Env.namespace()) ::
  {:ok, nil | binary()} | {:error, binary()}

Specify the hostname to be used in TLS Server Name Indication extension. If not specified, the amqp host will be used. This value is used only if Server Name Indication is enabled.

Calling Astarte.RPC.Config.amqp_connection_ssl_custom_sni() will ensure the following:

  • Binding order: [:system, :config]
  • OS environment variable: "RPC_AMQP_CONNECTION_SSL_CUSTOM_SNI"
  • Type: :binary
  • Default: nil
  • Required: false
  • Cached: true