Register Repository Users
A repository user is a database credential configured in ALTR for impersonation. Registering a repository user enables the sidecar to retrieve that credential and use it for the database session when a data consumer connects through single sign-on.
Prerequisites
Section titled “Prerequisites”- The database credential for the repository user is stored in a supported credential provider: AWS Secrets Manager, Azure Key Vault, Environment Variable, or Local File.
Choosing a credential provider: AWS Secrets Manager is best when your infrastructure already runs in AWS. Azure Key Vault is best when your infrastructure already runs in Azure. Environment Variable is intended for proof-of-concept/testing use, not production. Local File is useful for testing, or for on-prem/similar deployments where cloud secret managers aren’t available.
To register a repository user:
- Log in to ALTRNet through your identity provider (IdP).
- Select Data Configuration > Data Sources in the navigation menu.
- Select Repositories from the Type dropdown.
- Click the repository.
- Click the Users tab.
- Click Register Repository User.
- Enter the repository username in Username. This is the username for the underlying database credential.
- Select the Secret Source.
- Populate the fields for the selected secret source:
- AWS Secrets Manager: enter the Amazon Resource Name (ARN), copied directly from the secret source.
- Azure Key Vault: enter the Secret Name and the Vault URI, copied directly from the secret source.
- Environment Variable: enter the Variable Name — the name of the environment variable set on the sidecar that contains the credential.
- Local File: enter the Path — a filename with no directory separators; ALTR resolves it under the sidecar’s
/altr/secrets/directory (for example,db_passwordresolves to/altr/secrets/db_password).
- Click Register User. ALTRNet adds the user to the repository’s Users tab.
Edit Repository Users
Section titled “Edit Repository Users”Edit a repository user to update its username or the fields specific to its secret source.
To edit a repository user:
- Log in to ALTRNet through your IdP.
- Select Data Configuration > Data Sources in the navigation menu.
- Select Repositories from the Type dropdown.
- Click the repository to view its details.
- Click the Users tab.
- Locate the repository user and click Edit.
- Update the repository user.
- Click Save. ALTRNet applies the update to the repository user.
Remove a Repository User
Section titled “Remove a Repository User”Removing a repository user prevents it from being used in impersonation policies. Update any impersonation policy that references the user to exclude it before removing the user.
To remove a repository user from ALTR:
- Log in to ALTRNet through your IdP.
- Select Data Configuration > Data Sources in the navigation menu.
- Select Repositories from the Type dropdown.
- Click the repository to view its details.
- Click the Users tab.
- Locate the repository user and click Edit.
- Click Remove. ALTRNet displays a confirmation modal.
- Click Remove to confirm.