GetKeys
yaml
type: "io.kestra.plugin.core.kv.GetKeys"
Gets keys matching a given prefix.
Examples
Get keys that are prefixed by
my_var
.
yaml
id: kv_store_getkeys
namespace: company.team
tasks:
- id: kv_getkeys
type: io.kestra.plugin.core.kv.GetKeys
prefix: my_var
namespace: dev # the current namespace of the flow will be used by default
Properties
namespace
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Default:
{{ flow.namespace }}
The namespace on which to get the value.
prefix
- Type: string
- Dynamic: ✔️
- Required: ❌
The key for which to get the value.
Outputs
keys
- Type: array
- SubType: string
- Required: ❌
Found keys for given prefix.
Definitions
Was this page helpful?