Configure CLI¶
The purpose of the configure
command, is to provide users the ability to create, update or
delete connection profiles. Connection profiles are use to establish connections to Apache
Ranger REST API environments.
To display the usage documentation, run:
$ ranger-cli configure --help
Command examples
Create a connection profile¶
The following command will create the “default” profile. If you wish to create a different
profile, then you need to include the --profile
option.
$ ranger-cli configure
Delete a connection profile¶
To delete a connection profile, execute the configure
with the --delete
flag.
$ ranger-cli configure --delete --profile <profile-name>
Warning
Please be advised that if you do not include --policy
option, the default profile
will be deleted if it exists.