Service Accounts

1. List Service Accounts

Retrieves a list of Service Accounts for a given tenant. Service Accounts can be of cloud services in AWS, Azure, OpenStack etc., ID in the output is referred as Service Account ID

Syntax
(.venv)$ corestack service-accounts-list

Parameters

None

Sample Output

2. View Service Account

Retrieves a Service Account by its ID. Service Account can be fetched from the output of service-accounts-list command. Name, Description, Created By, Updated By etc., will be available as output

Syntax
(.venv)$ corestack serviceaccount-show <service_account_id >

Parameters

Attributes Description
service_account_id Required.ID of the Service Account to be retrieved

Sample Output

3. Delete Service Account

Deletes a Service Account by its ID. Service Account once deleted cannot be reverted. Delete Status will be displayed as output

Syntax
(.venv)$ corestack serviceaccount-delete <service_account_id >

Parameters

Attributes Description
service_account_id Required.ID of the Service Account to be deleted

Sample Output