Linux command
exo-iam 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List API keys
exo iam api-key list
Create API key
exo iam api-key create [name] [role-name]
Delete API key
exo iam api-key delete [key_id]
List IAM roles
exo iam role list
Create an IAM role
exo iam role create [role-name] --policy [policy.json]
Show role details
exo iam role show [role-name]
Show organization policy
exo iam org-policy show
说明
exo iam manages identity and access management for Exoscale cloud. It handles API keys used for authentication and roles for access control. API keys provide programmatic access to Exoscale resources. Each key is attached to a role that defines its permissions via a policy. Roles contain policies that specify allowed and denied operations across services such as compute, dns, dbaas, sos, and block-storage. The org-policy subcommand manages the organization-level default policy.
参数
- api-key _ACTION_
- Manage API keys (list, create, delete).
- api-key create _NAME_ _ROLE-NAME|ROLE-ID_
- Create new API key with the specified role name or ID.
- api-key list
- List all API keys.
- api-key delete _ID_
- Delete an API key.
- role _ACTION_
- Manage IAM roles (list, create, delete, show, update).
- role create _NAME_ --policy _FILE_
- Create a new IAM role with a policy file.
- role show _NAME|ID_
- Display details of an IAM role.
- role update _NAME|ID_ --policy _FILE_
- Update the policy of an existing IAM role.
- org-policy _ACTION_
- Manage organization IAM policy (show, reset).
- --help
- Display help information.
FAQ
What is the exo-iam command used for?
exo iam manages identity and access management for Exoscale cloud. It handles API keys used for authentication and roles for access control. API keys provide programmatic access to Exoscale resources. Each key is attached to a role that defines its permissions via a policy. Roles contain policies that specify allowed and denied operations across services such as compute, dns, dbaas, sos, and block-storage. The org-policy subcommand manages the organization-level default policy.
How do I run a basic exo-iam example?
Run `exo iam api-key list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does api-key _ACTION_ do in exo-iam?
Manage API keys (list, create, delete).