api-docs-icon

Service Accounts

What are Service Accounts?

Service accounts are specialized accounts that use API keys to access Sideko resources. These keys have permissions that you define, allowing them to perform specific actions on your behalf. This is particularly useful for automating processes in CI/CD environments, where you need secure, programmatic access to your Sideko projects.

Benefits of Service Accounts

  • Security: Avoid exposing your personal credentials in shared environments.
  • Automation: Seamlessly integrate Sideko into your CI/CD pipelines for continuous integration and deployment.
  • Control: Assign specific permissions to each service account, ensuring they only have access to the resources they need.

Creating a Service Account

You can create and manage service accounts through the Sideko UI. Follow these steps to set up a service account:

  1. Navigate to Service Accounts:

    • From your organization’s dashboard, go to the "Service Accounts" section.
  2. Create a New Service Account:

    • Click on "Create New Service Account".
    • Enter a name and description for the service account to help you identify its purpose.
  3. Assign Permissions:

    • Select the projects and roles that the service account should have access to.
    • For each project, you can choose the role that defines the permissions (e.g., Admin, Contributor, Viewer).

service accounts.png

Using Service Accounts in CI/CD

Service accounts are ideal for CI/CD automation, allowing you to integrate Sideko seamlessly into your workflows.

Add the API key to your CI/CD tool’s environment variables. This ensures the key is securely stored and not exposed in your codebase.

By using service accounts, you can automate your workflows securely and efficiently, making the most out of Sideko’s capabilities without compromising your personal credentials.