forked from TrueCloudLab/lego
hyperone: Minor tweaks of documentation (#1315)
This commit is contained in:
parent
1e1ae7f49b
commit
b87d5b1efe
2 changed files with 10 additions and 6 deletions
|
@ -53,13 +53,13 @@ just a passport file in `~/.h1/passport.json` location.
|
|||
To use this application you have to generate passport file for `sa`:
|
||||
|
||||
```
|
||||
h1 sa credential generate --name my-passport --sa <sa ID> --passport-output-file ~/.h1/passport.json
|
||||
h1 iam project sa credential generate --name my-passport --project <project ID> --sa <sa ID> --passport-output-file ~/.h1/passport.json
|
||||
```
|
||||
|
||||
### Required permissions
|
||||
|
||||
Depending of environment variables usage, the application requires different permissions:
|
||||
- `dns/zone/list` if `HYPERONE_ZONE_URI` is not specified
|
||||
The application requires following permissions:
|
||||
- `dns/zone/list`
|
||||
- `dns/zone.recordset/list`
|
||||
- `dns/zone.recordset/create`
|
||||
- `dns/zone.recordset/delete`
|
||||
|
@ -67,6 +67,8 @@ Depending of environment variables usage, the application requires different per
|
|||
- `dns/zone.record/list`
|
||||
- `dns/zone.record/delete`
|
||||
|
||||
All required permissions are available via platform role `tool.lego`.
|
||||
|
||||
|
||||
|
||||
## More information
|
||||
|
|
|
@ -19,19 +19,21 @@ just a passport file in `~/.h1/passport.json` location.
|
|||
To use this application you have to generate passport file for `sa`:
|
||||
|
||||
```
|
||||
h1 sa credential generate --name my-passport --sa <sa ID> --passport-output-file ~/.h1/passport.json
|
||||
h1 iam project sa credential generate --name my-passport --project <project ID> --sa <sa ID> --passport-output-file ~/.h1/passport.json
|
||||
```
|
||||
|
||||
### Required permissions
|
||||
|
||||
Depending of environment variables usage, the application requires different permissions:
|
||||
- `dns/zone/list` if `HYPERONE_ZONE_URI` is not specified
|
||||
The application requires following permissions:
|
||||
- `dns/zone/list`
|
||||
- `dns/zone.recordset/list`
|
||||
- `dns/zone.recordset/create`
|
||||
- `dns/zone.recordset/delete`
|
||||
- `dns/zone.record/create`
|
||||
- `dns/zone.record/list`
|
||||
- `dns/zone.record/delete`
|
||||
|
||||
All required permissions are available via platform role `tool.lego`.
|
||||
'''
|
||||
|
||||
[Configuration]
|
||||
|
|
Loading…
Reference in a new issue