From b87d5b1efeabc9a2dc315b3e4f75184bfdec54c8 Mon Sep 17 00:00:00 2001 From: Adam Dobrawy Date: Wed, 9 Dec 2020 21:31:54 +0100 Subject: [PATCH] hyperone: Minor tweaks of documentation (#1315) --- docs/content/dns/zz_gen_hyperone.md | 8 +++++--- providers/dns/hyperone/hyperone.toml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/content/dns/zz_gen_hyperone.md b/docs/content/dns/zz_gen_hyperone.md index fcc8ab0c..0fdbf6ea 100644 --- a/docs/content/dns/zz_gen_hyperone.md +++ b/docs/content/dns/zz_gen_hyperone.md @@ -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 --passport-output-file ~/.h1/passport.json +h1 iam project sa credential generate --name my-passport --project --sa --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 diff --git a/providers/dns/hyperone/hyperone.toml b/providers/dns/hyperone/hyperone.toml index e598904c..3e146e25 100644 --- a/providers/dns/hyperone/hyperone.toml +++ b/providers/dns/hyperone/hyperone.toml @@ -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 --passport-output-file ~/.h1/passport.json +h1 iam project sa credential generate --name my-passport --project --sa --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]