personal
Creates, updates, deletes, gets or lists a personal
resource.
Overview
Name | personal |
Type | Resource |
Id | sumologic.access_keys.personal |
Fields
The following fields are returned by SELECT
queries:
- listPersonalAccessKeys
A list of all access keys that belong to the user making the request.
Name | Datatype | Description |
---|---|---|
id | string | Identifier of the access key. (example: su0w3Q37CBzHUM) |
corsHeaders | array | An 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. |
createdAt | string (date-time) | Creation timestamp in UTC in RFC3339 format. (example: 2018-10-16T09:10:00Z) |
createdBy | string | Identifier of the user who created the access key. (example: 0000000006743FDD) |
disabled | boolean | Indicates whether the access key is disabled or not. |
label | string | The name of the access key. (example: collector access key) |
lastUsed | string (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) |
modifiedAt | string (date-time) | Last modification timestamp in UTC. (example: 2018-10-16T09:10:00Z) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
listPersonalAccessKeys | select | region | List 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.
Name | Datatype | Description |
---|---|---|
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- listPersonalAccessKeys
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
;