RapidFort Service Accounts
Create a RapidFort service account for your CI/CD pipeline
The RapidFort CLI tools require authenticating with RapidFort.
For CI/CD pipelines, we recommend creating a RapidFort service account.
Open a web browser, navigate to the RapidFort dashboard, and log in.
Go to the Settings page. Select Service Accounts and Create new service account.
- Name/Tag: Enter a tag for the service account (e.g. "GitLab Runner").
- Expiration time: Select an expiration time (e.g. 90 days).
- Password: Enter your password.
Create the service account.
Copy the service account credentials to your clipboard or download the credentials to your system.
credentials
[rapidfort-user]
access_id = RFabcdefghijkl123456
secret_key = 01234567891011abcdefghijklmnopqrstuvwxyz
rf_root_url = https://rapidfort.example.com
To use the service account, you can either set environment variables or update the RapidFort credentials file on the client system.
You can set the following environment variables:
RF_ACCESS_ID
RF_SECRET_ACCESS_KEY
You can also update the RapidFort credentials file on the client system with the service account credentials. By default, the RapidFort credentials file is located in
~/.rapidfort/credentials
.You may delete service accounts. Once a service account has been deleted, the access id and secret access key will no longer be valid.