import

Definition

Imports roles from a JSON file to the database. The roles will be imported without their permissions.

Usage

$ airflow roles import [-h] [-v] file

Arguments

Parameter Description

file

JSON file to import the roles from

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To import roles from a file, run:

$ airflow roles import /tmp/roles.json
Found a mistake? Seleсt text and press Ctrl+Enter to report it