filter
public String filter()
Gets the filter.
When provided, returns the list of keys that match the queried properties. Each key property to be filtered on is
specified as the property name itself, followed by an “=“ symbol, and then the value to filter on, followed by a
space if there are more properties to filter only. Note: Anything between `<` and `>` in the examples or
descriptions represent placeholder to specify the value
*Basic format*: <propertyA>=<valueB> <propertyB>=<valueB> - The value to filter on may
contain a value related to the property itself, or an operator followed by a value accepted by the operator - Only
one operator and value, or one value is accepted per property at a time
*Format with operator/value pair*: <propertyA>=<operatorA>:<valueA> Up to three of the same
property may be specified at a time. The key properties that can be filtered at this time are:
- `creationDate`
* Date in RFC 3339 format in double-quotes: “YYYY-MM-DDTHH:mm:SSZ”
- `deletionDate`
* Date in RFC 3339 format in double-quotes: “YYYY-MM-DDTHH:mm:SSZ”
- `expirationDate`
* Date in RFC 3339 format in double-quotes: “YYYY-MM-DDTHH:mm:SSZ”
- `extractable`
* Boolean true or false without quotes, case-insensitive
- `lastRotateDate`
* Date in RFC 3339 format in double-quotes: “YYYY-MM-DDTHH:mm:SSZ”
- `lastUpdateDate`
* Date in RFC 3339 format in double-quotes: “YYYY-MM-DDTHH:mm:SSZ”
- `state`
* A list of comma-separated integers with no space in between: 0,1,2,3,5 Comparison operations (operators) that
can be performed on date values are:
- `lte:<value>` Less than or equal to - `lt:<value>` Less than - `gte:<value>` Greater than or
equal to - `gt:<value>` Greater than A special keyword for date, `none` (case-insensitive), may be used to
retreive keys that do not have that property. This is useful for `lastRotateDate`, where only keys that have never
been rotated can be retreived.
*Examples*:
- `lastRotateDate="2022-02-15T00:00:00Z"` Filter keys that were last rotated on February 15, 2022 -
`lastRotateDate=gte:"2022-02-15T00:00:00Z"` Filter keys that were last rotated after or on February 15, 2022 -
`lastRotateDate=gte:"2022-02-15T00:00:00Z" lastRotateDate=lt:"2022-03-15T00:00:00Z"` Filter keys that were last
rotated after or on February 15, 2022 but before (not including) March 15, 2022 -
`lastRotateDate="2022-02-15T00:00:00Z" state=0,1,2,3,5 extractable=false` Filter root keys that were last rotated
on February 15, 2022, with any state
*Note*: When you filter by `state` or `extractable` in this query parameter, you will not be able to use the
deprecated `state` or `extractable` independent query parameter. You will get a 400 response code if you specify a
value for one of the two properties in both this filter query parameter and the deprecated independent query of the
same name (the same applies vice versa).
- Returns:
- the filter