# exo iam role update
### Description

This command updates an IAM Role.
When you supply '-' as a flag argument to '--policy', the new policy will be read from STDIN.

Supported output template annotations: .DefaultServiceStrategy, .Services

```
exo iam role update ID|NAME [flags]
```

### Options

| Option | Description |
|---------|------------|
|`--description` | Role description |
|`--help, -h` | help for update |
|`--label` | Role labels (format: key=value) |
|`--permissions` | Role permissions |
|`--policy` | Role policy (use &#39;-&#39; to read from STDIN) |


### Options inherited from parent commands

| Option | Description |
|---------|------------|
|`--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
|`--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [role]({{< ref "../role">}})	 - IAM Role management


