To create a
service account using the Identity and Access Management
API, you must have already created at least one service
account using the User Interface, and then obtained an
access token for that account.
To create a service
account using the Identity and Access Management API, use
the
create a Service Account
API. The Client ID and Client Secret for this
account is returned in the response
payload:
{
"id": "xxxxxxxxxxxxxxxxxxxxx",
"name": "xxxxxxxxxx",
"tsg_id": "1111111111",
"contact_email": "user@example.com",
"identity_email": "xxxxxxxxxx@1111111111.iam.panServiceAccounts.com",
"description": "Descriptive text",
"client_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"client_secret": "xxxxxxxxxxxxxxxxxxxxx"
}