Skip to main content
Version: 1.5

wf create policy assume

wf create policy assume

Creates a policy enabling workspace members to assume a role


Lets you create assume policies. These let your workspace members assume plans (roles), escalating the privileges for a short period of time.

The policies themselves are able to provide a number of constraints that limit the scope of who can assume, the time period, the authentication methods permitted, source address, any available inputs to the plan and more.

wf create policy assume [flags]


wf create assume <role>


      --dry-run            Shows the resource but does not apply or create (defaults: false)
--expires duration Expiration for the policy (default: does not expire)
-h, --help help for assume

Options inherited from parent commands

      --debug              Indicates we should use debug / trace logging (default: false)
--force Used to force an operation to happen (default: false)
--no-wait Indicates we should not wait for resources to provision
-o, --output string Output format of the resource (json,yaml,table,template) (default "table")
--profile string Use a profile other than your default for this command
--show-headers Indicates we should display headers on table out (default true)
--verbose Enables verbose logging for debugging purposes (default: false)
-w, --workspace string The workspace you are operating within