george-zubrienko commented on issue #1146:
URL: https://github.com/apache/polaris/issues/1146#issuecomment-2730479870

   Btw, this is how I add catalogs:
   ```
   PRINCIPAL_TOKEN="..."
   curl -i -X POST -H "Authorization: Bearer $PRINCIPAL_TOKEN" -H 'Accept: 
application/json' -H 'Content-Type: application/json'   
http://localhost:8181/api/management/v1/catalogs   -d '{
           "catalog": {
             "name": "staging",
             "type": "INTERNAL",
             "readOnly": false,
             "properties": {
               "default-base-location": "s3://tmp/production/staging/"
             },
             "storageConfigInfo": {
               "storageType": "S3",
               "allowedLocations": [
                 "s3://tmp/production/staging/"
               ],
               "roleArn": "arn:aws:iam::000000000000:role/polaris-access-role"
             }
           }
         }'
   ```
   roleArn is a *valid*, but non-existing role.


-- 
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]

Reply via email to