snippetbashTip
odpscmd auth — User authorities in ODPS (Open Data Processing Service). See also: `odpscmd`. More information: <htt
Viewed 0 times
commandauthoritiesdataodpscmd authcliopenuserodps
Problem
How to use the
odpscmd auth command: User authorities in ODPS (Open Data Processing Service). See also: odpscmd. More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.Solution
odpscmd auth — User authorities in ODPS (Open Data Processing Service). See also: odpscmd. More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.[Interactive] Add a user to the current project:
add user {{username}};[Interactive] Grant a set of authorities to a user:
grant {{action_list}} on {{object_type}} {{object_name}} to user {{username}};[Interactive] Show authorities of a user:
show grants for {{username}};[Interactive] Create a user role:
create role {{role_name}};[Interactive] Grant a set of authorities to a role:
grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};[Interactive] Describe authorities of a role:
desc role {{role_name}};[Interactive] Grant a role to a user:
grant {{role_name}} to {{username}};Code Snippets
[Interactive] Add a user to the current project
add user {{username}};[Interactive] Grant a set of authorities to a user
grant {{action_list}} on {{object_type}} {{object_name}} to user {{username}};[Interactive] Show authorities of a user
show grants for {{username}};[Interactive] Create a user role
create role {{role_name}};[Interactive] Grant a set of authorities to a role
grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};Context
tldr-pages: common/odpscmd auth
Revisions (0)
No revisions yet.