Create Resources
Create a Service Account
Overview
Follow the steps below to create a service account within your org.
Prerequisites
- Review the service account reference page
- Permissions to create a service account
- Optional:
- Install the CLI
Create using the UI Console
- Create a new service account by either:
- Clicking
Service Accounts
in the left menu and clickNew
, or - Click the
Create
dropdown in the upper right corner and selectService Account
- Clicking
- Enter a unique name and optional description and click
Next (Tags)
- Enter any optional tags. Click
Create
. - Click the
Keys
link to generate a new token that is used to create a profile - Enter a key description and click
Add
. Copy and download the generated key
Create using the CLI
Refer to the serviceaccount create and serviceaccount add-key command for details and examples on how to create a service account using the CLI.
Next Steps
After creating a service account with a key, it can be used in a policy to grant permissions to any Control Plane resource. Once permissions have been granted, a browser-less CLI login is performed to authenticate and allow the execution of CLI commands.