Assigns EFA roles to a user or an LDAP group.
<Tenant-name>Admin
. This example assigns the role of Fabric Admin to a user named fabricuser.
# efa auth rolemapping add --name fabricuser --role FabricAdmin --type user Successfully added the role mapping
This example assigns the role of NetworkOperator to a group named viewer.
# efa auth rolemapping add --name viewer --role NetworkOperator --type group Successfully added the role mapping.This example displays all assigned mappings.
# efa auth rolemapping show ID Name Role Type 1 efauser SystemAdmin USER 2 fabricuser FabricAdmin USER 3 viewer NetworkOperator GROUPThis example deletes the role for the user with ID 3.
# efa auth rolemapping remove --id 3 Deleted role mapping successfully