Service Credential
In this section, you will find how to generate, revoke and edit Service Credentials.
Permission: Only those with Account Holder or Sys_Admin permission can generate Service Credentials.
- You can generate Service Credentials at any time in the StackSpot Portal.
What is a Service Credential
A Service Credential empowers Enterprise accounts to manage service tokens with custom teams and scopes tailored to specific purposes. Organizations can execute pipeline-level actions without direct intervention from an individual team member.
These account-level operations include:
-
Creating Resources;
-
Executing specific tasks via pipeline without direct user involvement.
For instance, a token can be generated with the following attributes:
- Name of a team called Tech Products;
- Permissions to only create and manage Studios;
- Assigned to teams responsible for Tech Products.
Steps to generate Service Credentials
Step 1. Log in to the StackSpot Platform and navigate to 'Account' then 'Configuration';
Step 2. Click on the 'Service Credential' section in the left-side menu;
Step 3. Select 'Create Service Credential';
Step 4. Complete the 'Credential Name . Click on the 'Next Step' button;
Step 5. Add teams to your Credential. You can edit this step later.
- Select individually;
Click 'Next Step';
Step 6. Review your information and click 'Finish'.
Done! You have generated a Service Credential.
Copy the following information:
- Client Id;
- Client Secret;
- Realm.
You won’t view this data again after clicking 'Finish'.
Revoke Service Credentials
Permission: Only those with Account Holder and Sys_Admin permission can revoke Credentials.
Before revoking a Credential: Create a new credential first and then revoke the current one.
Step 1. In your account, click on the 'Service Credentials' in the side menu;
Step 2. Locate the Credential to revoke and click 'Revoke' next to it;
Step 3. Then, type the name of the Credential in the field that appears. Confirm the revocation by clicking 'Revoke'
Done! You have revoked a Service Credential.
Edit Service Credentials
The only variable that you can edit in a Service Credential after creation is Groups. Follow the steps below to do it:
Step 1. In your account, click on 'Service Credentials' in the side menu;
Step 2. Choose the Credential to edit teams;
Step 3. On the Credential screen, you can view the teams that are part of it and:
- Remove Groups: Click on the 'Remove' button next to the team.
- Add Groups: Click on the 'Add team' button and select which ones you want to add.
View Service Credentials
You can view all the Credentials you have created on the StackSpot Platform.
In the same section where you created them, check:
- Credential name; and
- Creator of the credential.
Was this page helpful?