# h1 iam project role create
Create iam/role
# Synopsis
$ h1 iam project role create <options>
# Description
See also:
# Example
# Simple
h1 iam project role create \
--project 5f64e2468c71177993874510 \
--name simple-role \
--service /billing/project/platform/service/5e679c282b39c4353cd86f34
# Operation options
Option name | Description |
---|---|
--x-dry-run {x-dry-run} | Dry run |
--x-idempotency-key {x-idempotency-key} | Idempotency key |
--project {id-or-uri} | Project Id |
--name {name} | Role name |
--service {id-or-uri} | Role service. Provide ID or URI of billing/service. Default value is 5e679c282b39c4353cd86f34 |
--description {description} | Role description |
--permission {value=value} | Permission collection |
--tag {key=key, value=value} | Tag collection |
--skeleton | Display intermediary representation of operation |
# Common options
Option name | Description |
---|---|
--help | Show help message and exit. |
--verbose | Make the operation more talkative. |
--o, --output {tsv,list,json,js,id,uri,yaml} | Specify output format of command. Default value is yaml |
--query {query} | JMESPath query string. Default value is [].{id:id, name:name, state:state, flavour:flavour} |
--passport-file {path} | Passport file. Default value is ~/.h1/passport.json , if available. |
--as {uri} | Act as another actor eg. service account |
--no-wait | In case of queued event do not wait for completion |
--v, --version | Show version and exit. |