Astarte.DataAccess.Config.ssl_custom_sni

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

ssl_custom_sni(namespace \\ nil)

View Source

Specs

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 cassandra nodes will be used. This value is used only if Server Name Indication is enabled.

Calling Astarte.DataAccess.Config.ssl_custom_sni() will ensure the following:

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