Authentication
Note
You must be authenticated towards the appropriate cloud provider for Magics and the Spark cloud storage connectors to function properly.
MindLab uses Stormware for authentication, therefore we can simply follow the steps for the appropriate platforms in the Authentication section of the Stormware documentation.
Configuration
Note that the authentication configuration can be also added to the tool.mindlab
section of the
project’s pyproject.toml
file (instead of or in addition to the tool.stormware
section) as
follows:
[tool.mindlab]
organization = 'example.com'
project = 'my-project'
When a configuration option is set in both the mindlab
and stormware
sections, the value in
the mindlab
section takes precedence.
Additionally, you can also set the configuration options via environment variables prefixed with
MINDLAB
(e.g. MINDLAB_ORGANIZATION
).