Astarte.DataAccess.Config.cassandra_password

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

cassandra_password(namespace \\ nil)

View Source

Specs

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

The password used to log into cassandra. Defaults to 'cassandra'.

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

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