cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to deploy xsuaa service with xs-security.json

razvan_viorel_badea
Product and Topic Expert
Product and Topic Expert
0 Kudos
238

Hello! I am following this tutorial: https://developers.sap.com/tutorials/hana-cloud-cap-add-authentication.html 

When running "cf create-service xsuaa application MyHANAApp-auth -c xs-security.json" I get "Incorrect Usage: Invalid configuration provided for -c flag. Please provide a valid JSON object or path to a file containing a valid JSON object. "

The only option that worked was with empty json as inline configuration,

but the xs-security.json file, no matter how I change it crashes with the error above.

View Entire Topic
razvan_viorel_badea
Product and Topic Expert
Product and Topic Expert
0 Kudos

The workaround I have used is to create the XSUAA service directly in SAP BTP and put the json config directly in there.