← 返回命令列表

Linux command

odps-auth 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Login to ODPS

odps auth login

Configure credentials

odps auth config --access-id [id] --access-key [key]

Show current user

odps auth whoami

Logout

odps auth logout

说明

odps auth manages MaxCompute authentication. Configures access credentials. The tool handles login and credential storage. Part of ODPS CLI.

参数

login
Authenticate to ODPS.
logout
Remove credentials.
config
Configure authentication.
whoami
Show current identity.
--access-id _ID_
Access key ID.
--access-key _KEY_
Access key secret.
--help
Display help information.

FAQ

What is the odps-auth command used for?

odps auth manages MaxCompute authentication. Configures access credentials. The tool handles login and credential storage. Part of ODPS CLI.

How do I run a basic odps-auth example?

Run `odps auth login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does login do in odps-auth?

Authenticate to ODPS.