# ServiceAccount

> **Package : spaceone.api.identity.v1**

\
\


## ServiceAccount

**ServiceAccount Methods:**

| Method                                                                                                                    | Request                                                                                                                                                         | Response                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [**create**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#create) | [CreateServiceAccountRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#createserviceaccountrequest) | [ServiceAccountInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountinfo)   |
| [**update**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#update) | [UpdateServiceAccountRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#updateserviceaccountrequest) | [ServiceAccountInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountinfo)   |
| [**delete**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#delete) | [ServiceAccountRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountrequest)             | [Empty](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#empty)                             |
| [**get**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#get)       | [GetServiceAccountRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#getserviceaccountrequest)       | [ServiceAccountInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountinfo)   |
| [**list**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#list)     | [ServiceAccountQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountquery)                 | [ServiceAccountsInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountsinfo) |
| [**stat**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#stat)     | [ServiceAccountStatQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#serviceaccountstatquery)         | [Struct](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v1/ServiceAccount/README.md#struct)                           |

\


### create

> **POST** /identity/v1/service-account/create

\


### update

> **POST** /identity/v1/service-account/update

\


### delete

> **POST** /identity/v1/service-account/delete

\


### get

> **POST** /identity/v1/service-account/get

\


### list

> **POST** /identity/v1/service-account/list

\


### stat

> **POST** /identity/v1/service-account/stat

\
\


## Message

### CreateServiceAccountRequest

* **name** (string) `Required`
* **data** (Struct) `Required`
* **provider** (string) `Required`
* **service\_account\_type** (string) `Required`
* **domain\_id** (string) `Required`
* **project\_id** (string)
* **tags** (Struct)
*   **trusted\_service\_account\_id** (string)

    \


### GetServiceAccountRequest

* **service\_account\_id** (string) `Required`
* **domain\_id** (string) `Required`
*   **only** (string) `Repeated`

    \


### ServiceAccountInfo

* **service\_account\_id** (string) `Required`
* **name** (string) `Required`
* **service\_account\_type** (string) `Required`
* **data** (Struct) `Required`
* **provider** (string) `Required`
* **trusted\_service\_account\_id** (string) `Required`
* **project\_info** (ProjectInfo) `Required`
* **scope** (string) `Required`
* **domain\_id** (string) `Required`
* **tags** (Struct) `Required`
*   **created\_at** (string) `Required`

    \


### ServiceAccountQuery

* **domain\_id** (string) `Required`
* **query** (Query)
* **service\_account\_id** (string)
* **name** (string)
* **service\_account\_type** (string)
* **provider** (string)
* **trusted\_service\_account\_id** (string)
* **project\_id** (string)
* **scope** (string)
*   **has\_secret** (bool)

    \


### ServiceAccountRequest

* **service\_account\_id** (string) `Required`
*   **domain\_id** (string) `Required`

    \


### ServiceAccountStatQuery

* **query** (StatisticsQuery) `Required`
* **domain\_id** (string) `Required`
*   **has\_secret** (bool)

    \


### ServiceAccountsInfo

* **results** (ServiceAccountInfo) `Repeated` `Required`
*   **total\_count** (int32) `Required`

    \


### UpdateServiceAccountRequest

* **service\_account\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **name** (string)
* **data** (Struct)
* **project\_id** (string)
* **tags** (Struct)
* **trusted\_service\_account\_id** (string)
*   **release\_trusted\_service\_account** (bool)

    \
