On this page

Show all

Help Center/ ModelArts/ SDK Reference/ Session Authentication/ Authentication Using the Username and Password

Authentication Using the Username and Password

Updated on 2024-06-12 GMT+08:00

This authentication method is available for OBS Management, Model Management, and Service Management.

Sample Code

  • Authentication using an account
    Set username to your account name.
    1
    2
    from modelarts.session import Session
    session = Session(username='***',  password='***', region_name='***', project_id='***')
    
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback