Databases
To store data, Axidian Privilege uses the following databases:
- Core — the Core component database. Used to store privileged account data, resources, permissions, and other service data.
- CoreJobs — the Core component database. Used to store and run background jobs, such as resource and account synchronization, password changes, session management, and artifact rotation.
- Idp — the IdP component database. Used to store authenticators of Axidian Privilege users and administrators.
- IdpJobs — the IdP component database. Used to run background authentication service jobs.
- ILS — the Log Server component database. Used to store Axidian Privilege events.
Create databases
- MSSQL
- PostgreSQL
- Open Microsoft SQL Server Management Studio (SSMS) and connect to your Microsoft SQL Server instance.
- In Object Explorer, right-click Databases, and then select New Database.
- Create the following databases: Core, CoreJobs, Idp, IdpJobs, and ILS.
pgAdmin
- Open pgAdmin and connect to your PostgreSQL instance.
- Right-click Databases, and then select Create → Database.
- Create the following databases: Core, CoreJobs, Idp, IdpJobs, and ILS.
psql command-line client
Open a terminal as root.
Connect to your PostgreSQL instance as the
postgressuperuser:psql -U postgres -h <host> -p <port>host— the IP address or DNS name of the serverport— the port number (default:5432)
After you connect, the command prompt changes to
postgres=#.Create the following databases: Core, CoreJobs, Idp, IdpJobs, and ILS.
To preserve the case of the database names, enclose each name in double quotation marks.CREATE DATABASE "Core";
CREATE DATABASE "CoreJobs";
CREATE DATABASE "Idp";
CREATE DATABASE "IdpJobs";
CREATE DATABASE "ILS";Verify that the databases were created:
\l
Create a service account
- MSSQL
- PostgreSQL
- Open Microsoft SQL Server Management Studio (SSMS) and connect to your Microsoft SQL Server instance.
- In Object Explorer, expand Security.
- Right-click Logins, and then select New Login.
- In Login name, enter a name for the account, for example, IPAMSQLServiceOps.
- Select SQL Server authentication, and then fill in the required fields.
- Go to the User Mapping page.
- Select the Core, CoreJobs, Idp, IdpJobs, and ILS databases.
- For the selected databases, select the db_owner, db_datareader, and db_datawriter roles.
- Select OK.
The db_owner role is required only for the first connection to the database.
To use Axidian Privilege, install a certificate for your Microsoft SQL Server instance.
pgAdmin
- Open pgAdmin and connect to your PostgreSQL instance.
- Right-click Login/Group Roles.
- Select Create → Login/Group Role.
- In Name, enter a name for the account, for example, IPAMSQLServiceOps.
- On the Definition tab, in Password, enter a password for the account.
- On the Privileges tab, turn on Can login? and Superuser?.
- Select Save.
psql command-line client
Open a terminal as root.
Connect to your PostgreSQL instance as the
postgressuperuser:psql -U postgres -h <host> -p <port>host— the IP address or DNS name of the serverport— the port number (default:5432)
After you connect, the command prompt changes to
postgres=#.Create a role with a name and password:
CREATE ROLE "<username>" WITH LOGIN PASSWORD '<password>' SUPERUSER;username— the account name, for example,IPAMSQLServiceOps.
To preserve the case of the name, enclose it in double quotation marks.LOGIN— allows the role to connect to the database server.PASSWORD— sets the role password. Replacepasswordwith a password, for example,DB_Prod_Password789!.SUPERUSER— grants superuser privileges to the role.
infoSuperuser privileges are required only for the first connection to the database.
Verify that the role was created and that the
Attributescolumn containsSuperuser:\du "<username>"