This article provides detailed instructions on setting up granular access for servers with labels when using AD-joined flow.
- Okta Advanced Server Access
- Active Directory (AD)-Joined
- Server Agent
There are two methods of doing this, and instructions for both are listed below.
- Using the server agent.
- Using AD join.
- Identify the attribute that needs to be added as a label. Attributes for a user can be seen by enabling Active Directory Users and Computers, selecting View > Advanced Features, and then selecting Attribute Editor for the machine. Here location attribute will be used as an example.
-
- Log in to ASA UI. Specify the selected attribute under the server sync job with a label that needs to be used in ASA. Here, the location will be referred to as a label test in ASA:
-
- Once the job finishes, click on the server, and the label will be displayed as shown in the screenshot below:
-
- Now the label can be assigned to the group to give granular access to selected users only (that is, only the users who have the
locationattribute set as "US" in AD can access the servers). Note that the label needs to be prefixed with "ad.", exactly matching the label key on the server details page.
- Now the label can be assigned to the group to give granular access to selected users only (that is, only the users who have the
