When trying to generate or apply a configuration via Command Line Interface (CLI) with CLI configuration file, the following error is received:
Error while processing YAML document at line 1 of XL YAML file <Filename.yaml>:
401 Request unauthorized. Please check your credentials.
Sample config file:
~/xebialabs cat config.yaml
current-repository: XL Blueprints
- name: XL Blueprints
Could be indentation or the auth method specified.
- Try using authmethod set to basic in the config.yaml
- Try passing the password directly in the xl command
xl --config config.yaml --xl-release-password admin@123 apply -f test.yaml