Create a service account
You can create a service account in a project to provide an external system with credentials for programmatic API access.
Before you begin
- You have the
service_account:createpermission in the target project, or you are a project administrator. - At least one project exists in automation orchestrator.
About this task
Creating a service account is a two-step process: you create the service account, and then you create one or more credentials for it. The credential contains the client ID and client secret that the external system uses to authenticate.
Procedure
Results
Confirm the service account is displayed in the project's service account list with active status:
$ curl -H "Authorization: Bearer access_token" \
https://orchestrator_host/api/v1/service_accounts
The response includes the new service account with "status": "active".
What to do next
Next steps: