feat(cli): Add support for Scope Storage Policy

This commit is contained in:
Louis Ruch committed 2024-01-16 13:53:44 -08:00
1 parent 45de26bfe9
commit 20897640cd
4 files changed
+66 -3

No files matched your search

+10
View File
@@ -942,6 +942,16 @@ func initCommands(ui, serverCmdUi cli.Ui, runOpts *RunOptions) {
&scopescmd.DestroyKeyVersionCommand{
Command: base.NewCommand(ui),
}),
"scopes attach-storage-policy": clientCacheWrapper(
&scopescmd.Command{
Command: base.NewCommand(ui),
Func: "attach-storage-policy",
}),
"scopes detach-storage-policy": clientCacheWrapper(
&scopescmd.Command{
Command: base.NewCommand(ui),
Func: "detach-storage-policy",
}),
"search": func() (cli.Command, error) {
return &unsupported.UnsupportedCommand{