Flowcore CLI plugin for managing the IAM of the Flowcore Platform
$ npm install -g @flowcore/cli-plugin-iam
$ iam COMMAND
running command...
$ iam (--version)
@flowcore/cli-plugin-iam/1.7.0 linux-x64 node-v20.16.0
$ iam --help [COMMAND]
USAGE
$ iam COMMAND
...
iam delete policy NAME
iam delete role NAME
iam edit policy NAME
iam edit role NAME
iam get policy [NAME]
iam get role [NAME]
Delete a policy
USAGE
$ iam delete policy NAME -t <value> [--profile <value>] [-j] [-y]
ARGUMENTS
NAME name
FLAGS
-j, --json json output
-t, --tenant=<value> (required) tenant
-y, --yes yes to all
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Delete a policy
See code: src/commands/delete/policy.ts
Delete a role
USAGE
$ iam delete role NAME -t <value> [--profile <value>] [-j] [-y]
ARGUMENTS
NAME name
FLAGS
-j, --json json output
-t, --tenant=<value> (required) tenant
-y, --yes yes to all
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Delete a role
See code: src/commands/delete/role.ts
Edit a policy in your preferred editor
USAGE
$ iam edit policy NAME -t <value> [--profile <value>]
ARGUMENTS
NAME name
FLAGS
-t, --tenant=<value> (required) tenant
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Edit a policy in your preferred editor
EXAMPLES
$ flowcore iam edit policy my-policy -t my-tenant
$ FC_EDITOR=code flowcore iam edit policy my-policy -t my-tenant
See code: src/commands/edit/policy.ts
Edit a role in your preferred editor
USAGE
$ iam edit role NAME -t <value> [--profile <value>]
ARGUMENTS
NAME name
FLAGS
-t, --tenant=<value> (required) tenant
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Edit a role in your preferred editor
EXAMPLES
$ flowcore iam edit role my-role -t my-tenant
$ FC_EDITOR=code flowcore iam edit role my-role -t my-tenant
See code: src/commands/edit/role.ts
Get a policy
USAGE
$ iam get policy [NAME] [--profile <value>] [-j] [-t <value>] [-w]
ARGUMENTS
NAME name
FLAGS
-j, --json json output
-t, --tenant=<value> tenant
-w, --wide wide output
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Get a policy
See code: src/commands/get/policy.ts
Get a role
USAGE
$ iam get role [NAME] [--profile <value>] [-j] [-t <value>] [-w]
ARGUMENTS
NAME name
FLAGS
-j, --json json output
-t, --tenant=<value> tenant
-w, --wide wide output
--profile=<value> Specify the configuration profile to use
DESCRIPTION
Get a role
See code: src/commands/get/role.ts