bm admin policy rm

Syntax

Removes an IAM policy from the target Buckit deployment.

The bm admin policy remove command has equivalent functionality to bm admin policy rm.

The following command removes the policy names writeonly from the mybuckit Buckit deployment:

bm admin policy rm mybuckit writeonly

The command has the following syntax:

bm admin policy rm TARGET POLICYNAME
  • Brackets [] indicate optional parameters.

  • Parameters sharing a line are mutually dependent.

  • Parameters separated using the pipe | operator are mutually exclusive.

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.

Parameters

The bm admin policy rm command accepts the following arguments:

TARGET

The alias of a configured Buckit deployment from which to remove the policy.

POLICYNAME

The name of the policy to remove.

Global Flags

This command supports any of the global flags.

Examples

Remove a policy called listbuckets.

bm admin policy rm mybuckit listbuckets