Skip to content

Getting /tokens with RAM user failed with 404 USER_NOT_EXIST error #19

@yousong

Description

@yousong

I was experimenting with aliyun command line client against cr Personal Edition. It seems the aliyun cr GetAuthorizationToken command only supports 2016-06-07 API for now

image

Invoking aliyun --access-key-id "$ak" --access-key-secret "$sk" --region cn-beijing cr GetAuthorizationToken will fail with the following error, with http status code being 404 (req id: 77C730C7-CE62-51FD-AC39-2658DCF9EE05). The aksk was for a RAM user with AdministratorAccess role policy.

image

Same command but with access key created from "AccessKey Management" works just fine.

My end goal is to use aksk from a RAM user with only permission to access specified repo. Aksk from "AccessKey Management" does not pertain to the least permission security practice.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions