flyrain commented on code in PR #4087: URL: https://github.com/apache/polaris/pull/4087#discussion_r3017404072
########## site/content/in-dev/unreleased/getting-started/managing-polaris.md: ########## @@ -0,0 +1,101 @@ +--- +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +Title: Managing Polaris +type: docs +weight: 100 +--- + +This guide describes how to use the `setup` command to manage Apache Polaris configuration using an infrastructure-as-code approach. Define your Polaris configuration in a single YAML file and apply it with a single command. + +This command supports bootstrapping new environments and exporting existing configurations for reuse or version control. + +## Exporting Your Configuration + +If you already have an Apache Polaris environment, you can export its current state to a YAML file using the `export` subcommand: + +```bash +polaris setup export > polaris_bootstrap.yaml +``` + +This generates a readable YAML file containing principals, principal roles, catalogs, and their associated namespaces and catalog roles. Review Comment: Just for my information, tables/views are not supported, right? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
