Skip to main content

personal

Creates, updates, deletes, gets or lists a personal resource.

Overview

Namepersonal
TypeResource
Idsumologic.access_keys.personal

Fields

The following fields are returned by SELECT queries:

A list of all access keys that belong to the user making the request.

NameDatatypeDescription
idstringIdentifier of the access key. (example: su0w3Q37CBzHUM)
corsHeadersarrayAn array of domains for which the access key is valid. Whether Sumo Logic accepts or rejects an API request depends on whether it contains an ORIGIN header and the entries in the allowlist. Sumo Logic will reject: 1. Requests with an ORIGIN header but the allowlist is empty. 2. Requests with an ORIGIN header that don't match any entry in the allowlist.
createdAtstring (date-time)Creation timestamp in UTC in RFC3339 format. (example: 2018-10-16T09:10:00Z)
createdBystringIdentifier of the user who created the access key. (example: 0000000006743FDD)
disabledbooleanIndicates whether the access key is disabled or not.
labelstringThe name of the access key. (example: collector access key)
lastUsedstring (date-time)Last used timestamp in UTC.
Note: Property not in use, it is part of an upcoming feature. (example: 2018-10-16T09:10:00Z)
modifiedAtstring (date-time)Last modification timestamp in UTC. (example: 2018-10-16T09:10:00Z)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listPersonalAccessKeysselectregionList all access keys that belong to your user.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

List all access keys that belong to your user.

SELECT
id,
corsHeaders,
createdAt,
createdBy,
disabled,
label,
lastUsed,
modifiedAt
FROM sumologic.access_keys.personal
WHERE region = '{{ region }}' -- required
;