CLI commands
The pms storage commands for object storage. Status, enable and disable, buckets, and access keys. Sign in with pms login. API tokens are refused.
Object storage uses pms storage. You must sign in with pms login. API tokens cannot use object storage. See CLI sign-in.
If you are a project member, add --account <owner-id> to each command. The owner ID is the user ID of the account owner.
Account
Section titled “Account”pms storage statuspms storage enablepms storage disabledisable works only when no buckets are left. It deletes all data in object storage.
Buckets
Section titled “Buckets”pms storage bucket lspms storage bucket create <name>pms storage bucket rm <name>rm works only for an empty bucket. It asks first. Use --yes to skip the question.
Access keys
Section titled “Access keys”pms storage key lspms storage key create <name> [--read-only] [--bucket <bucket> ...] [--env]pms storage key reset <key-id> [--env]pms storage key rm <key-id>--read-only: the key can read, but cannot write or delete.--bucket: a bucket the key can use. Repeat it for more buckets. Without it, the key can use all buckets.--env: printsexportlines for the AWS CLI and SDKs. Use it witheval.
The secret is shown one time. See Buckets and access keys.
Examples
Section titled “Examples”pms storage enablepms storage bucket create my-bucketeval "$(pms storage key create ci --env)"aws s3 cp ./build.zip s3://my-bucket/build.zippms storage key rm <key-id>Set path style and the checksum setting before you use the AWS CLI. See Quick start.