List

Lists all active credentials for the service account associated with this enterprise

1 variables
6 variables

Lists all active credentials for the service account associated with this enterprise. Only the ID and key type are returned. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage corporate Android devices

Input

This building block consumes 1 input parameters

  = Parameter name
  = Format

enterpriseId STRING Required

The ID of the enterprise

Output

This building block provides 6 output parameters

  = Parameter name
  = Format

serviceAccountKey[] OBJECT

Credentials that can be used to authenticate as a service account

serviceAccountKey[].data STRING

The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google

serviceAccountKey[].id STRING

An opaque, unique identifier for this ServiceAccountKey. Assigned by the server

serviceAccountKey[].kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#serviceAccountKey"

serviceAccountKey[].publicData STRING

Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file

serviceAccountKey[].type STRING

The file format of the generated key data