Register a VO
Prerequisites
- You have access to your DiracX instance URL.
- It is better to have admin rights on the VO’s IdP instance (e.g. Indigo IAM).
Manage Users
Generate an OIDC client
- Log in to your VO’s IdP instance.
- Create a new OIDC client with:
- Client secret: none
- Redirect URIs:
- Grant type:
authorization_code - Scope: at minimum
openid,profileandemail
Configure DiracX
-
In your DIRAC CS, add under
DiracX > CsSync > VOs > <VO> > IdP: -
To add specific users, list their subject‑IDs under
UserSubjects:Configuration example
Note
User IDs are associated to the usernames that are defined in the
Registry > Userssection. This allows DiracX to retrieve the groups they belong to and their properties.Automatic population of the UserSubjects
The
DIRAC VOMS2CSAgentcan populate this list for you from anIAMserver. For that you need to enable theUseIAMflag to True.After saving, you should sync the configuration with DiracX. Dirac Groups and properties should then be associated to users defined in the
DiracXsection. See the previous step Convert CS for a refresher. -
Remove the VO from the
DiracX > DisabledVOslist
Interact with Computing Elements
Client configuration is still managed through the DIRAC configuration so far. See Submitting pilots to CEs using tokens for further details.
Interact with Storage Elements
This isn't possible yet as the interaction hasn't yet been finalized by WLCG. See the roadmap for details.