Before calling the Immich cmdlets a session needs to be created. Currently it is supported to use an API key or credentials (username and password) The session object can be passed to all cmdlets.