-
Notifications
You must be signed in to change notification settings - Fork 0
aliases for common bucket operations #106
Copy link
Copy link
Closed
Labels
kind/featureNew feature or requestNew feature or request
Description
Feature Summary
There are a couple of octl storage commands that are a bit verbose and would benefit from simpler aliases.
Problem to Solve
- Enable / disable bucket versioning
Currently this requires using the raw API command:
octl storage api PutBucketVersioning \
--Bucket fumble-tfstate \
--VersioningConfiguration.Status Enabled(or Suspended to disable).
- Enable / disable bucket encryption
Similarly, enabling encryption currently requires:
octl storage api PutBucketEncryption \
--Bucket fumble \
--ServerSideEncryptionConfiguration.Rules.0.ApplyServerSideEncryptionByDefault.SSEAlgorithm AES256Proposed Solution
octl storage bucket versioning enable <bucket>
octl storage bucket versioning disable <bucket>octl storage bucket encryption enable <bucket>
octl storage bucket encryption disable <bucket>Alternatives Considered
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureNew feature or requestNew feature or request