Overview of Session Authentication
The session module authenticates resources and initializes ModelArts SDK Client and OBS Client. After a session is set up, you can directly call the ModelArts SDK APIs.
1 2 |
from modelarts.session import Session
session = Session()
|
When using the ModelArts SDK in other development environments, select one of the following authentication methods for session authentication:
- Authentication Using the Username and Password: Available for OBS Management, Training Management, Model Management, and Service Management.
- AK/SK-based Authentication: Available for OBS Management, Training Management, Model Management, and Service Management.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.