lxc storage bucket key create
Description: Create key for a storage bucket Synopsis: Description: Create key for a storage bucket Options: Options inherited from parent commands: SEE ALSO: lxc storage bucket key- Manage storage bucket keys.

Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# `lxc storage bucket key create`

Create key for a storage bucket

## Synopsis

Description: Create key for a storage bucket

    lxc storage bucket key create [<remote>:]<pool> <bucket> <key> [flags]

## Options

          --access-key   Access key (auto-generated if empty)
          --role         Role (admin or read-only) (default "read-only")
          --secret-key   Secret key (auto-generated if empty)
          --target       Cluster member name

## Options inherited from parent commands

          --debug          Show all debug messages
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- lxc storage bucket key - Manage storage bucket keys