Skip to main content

Credential Management

Credentials allow you to generate and manage API tokens to authenticate and connect your systems to PhariaAI. This ensures security through encryption, expiration policies, and access controls. With the ability to create, monitor, and revoke tokens as needed, our solution enables reliable and secure integration with our services.

Each credential can be assigned different access roles. A credential can hold multiple API tokens with different expiration dates.

Creating Credentials

To add a new credential, go to “Access” > “Credentials” in PhariaOS. Click on “Create new API credential” in the upper right hand corner. Fill in the credential details, select the roles you want to assign (see List of Roles) and click “Create credential”.

Screenshot Create Credential Form

Managing Tokens

To add a new token to a credential, select the credential and click "Create new token". Select the time period until the token expires and click "Create token and show secret".

Screenshot Create Token

You are only shown the token once, after closing the dialog you will not be able to view it anymore. Click "Copy secret and close dialog" to copy the token to your clipboard.

Screenshot Token Created

Once the token has been created, you will see a new token with the new token ID and the creation date listed on the credential's page. To permanently delete the token, click the delete icon on the token card. After confirmation any system using this token will no longer have access.

Screenshot Delete Token

Deleting Credentials

warning

Deleting a credential will also delete all its associated tokens. Any system using one of these tokens will immediately lose access to PhariaAI.

To delete an existing credential in PhariaOS, go to "Access" > “Credentials”. Select the credential you wish to delete and click "Delete credential" in the top right hand corner.

Screenshot Delete Credential