Class ListServiceAccountKeysRequest (2.15.0)

ListServiceAccountKeysRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The service account keys list request.

Attributes

NameDescription
name str
Required. The resource name of the service account in the following format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. Using - as a wildcard for the PROJECT_ID, will infer the project from the account. The ACCOUNT value can be the email address or the unique_id of the service account.
key_types MutableSequence[google.cloud.iam_admin_v1.types.ListServiceAccountKeysRequest.KeyType]
Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned.

Classes

KeyType

KeyType(value)

KeyType filters to selectively retrieve certain varieties of keys.

Values: KEY_TYPE_UNSPECIFIED (0): Unspecified key type. The presence of this in the message will immediately result in an error. USER_MANAGED (1): User-managed keys (managed and rotated by the user). SYSTEM_MANAGED (2): System-managed keys (managed and rotated by Google).