otdfctl migrate
migrate - Migrate resources
Synopsis
otdfctl migrate [flags]Description
migrate groups commands used to migrate policy resources and related state.
The end-to-end workflow is not implemented yet, but the command surface is in place.
Available subcommands currently include namespaced-policy for migration planning and execution, and prune for cleanup flows.
The parent migrate command owns the shared --commit and --interactive flags.
migrate prune is separate from the existing destructive otdfctl policy subject-condition-sets prune command.
Planned examples
otdfctl migrate namespaced-policy --scope=registered-resources --output=policy-migration.json
otdfctl migrate prune namespaced-policy --scope=registered-resources
otdfctl migrate namespaced-policy --scope=actions,subject-mappings,registered-resources --output=policy-migration.json --commit
Options
-c,--commit <commit>- Writes changes to policy storage (required:
false)
-i,--interactive <interactive>- Interactive walk through of migrations (required:
false)
Aliases
migration