Skip to content

cub organization create

cub organization create

Create a organization

Synopsis

Create a new organization as a top-level division for your access management.

Examples:

  # Create a new organization named "my-organization" with verbose output, reading configuration from stdin
  # Verbose output prints the details of the created entity
  cub organization create --verbose --json --from-stdin my-organization

  # Create a new organization with minimal output
  cub organization create my-organization
cub organization create <organization name> [flags]

Options

      --allow-exists          Allow creation of resources that already exist
      --annotation strings    annotations in key=value format; can separate by commas and/or use multiple instances of the flag
      --delete-gate strings   delete gates in key[=true] format; can separate by commas and/or use multiple instances of the flag
      --filename string       Read the ConfigHub entity JSON from file, URL (https://), or stdin (-); mutually exclusive with --from-stdin
      --from-stdin            Read the ConfigHub entity JSON (e.g., retrieved with cub <entity> get --quiet --json) from stdin; merged with command arguments on create, and merged with command arguments and existing entity on update
  -h, --help                  help for create
      --jq string             jq expression, suppressing default output
      --json                  JSON output, suppressing default output
      --label strings         labels in key=value format; can separate by commas and/or use multiple instances of the flag
      --quiet                 No default output.
      --verbose               Detailed output, additive with default output
      --yaml                  YAML output, suppressing default output
      --yq string             yq expression, suppressing default output

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO