Version: 0.7

kore create policy assignment

kore create policy assignment#

Creates an assignment allowing team members to assign policy

Synopsis#

By creating an assignment on a plan or policy an administrator is allowing the teams members covered by the policy to assign that plan/policy to another managed resouce in kore (the most often use case being a robot account).

Assigments cover whom can apply the plan or policy and to which optionally to which resource the policy can be applied i.e we can limit the assignment to allow apply to all robot accounts, or to a specify robot account.

Teams members can then self-serve those policies using the $ kore assign command.

kore create policy assignment [flags]

Examples#

# Create an assignment for the plan kore.deployment
$ kore create assignment --plan kore.deployment
# Create an assignment for the policy kore.example
$ kore create assignment --policy kore.deployment

Options#

--dry-run shows the resource but does not apply or create (defaults: false)
--group strings one or more teams to apply
-h, --help help for assignment
--plan string name of the plan you indeed to permit
--policy string name of the policy you indeed to permit
--robot strings one or more robots accounts
--role strings one or more team roles to apply the plan
--scope strings one or more subject scopes to apply the plan
--subject strings one or more subjects to apply

Options inherited from parent commands#

--debug indicates we should use debug / trace logging (defaults: false)
--force is used to force an operation to happen (defaults: false)
--no-wait indicates if we should wait for resources to provision
-o, --output string the output format of the resource (json,yaml,table,template) (default "table")
--profile string allows you to explicitly set the selected profile
--show-headers indicates we should display headers on table out (default true)
-t, --team string the team you are operating within
--verbose enables verbose logging for debugging purposes (defaults: false)

SEE ALSO#