Skip to main content

Retrieve Runner Access Key

You can retrieve the runner access key via this api

Example Runner Access Key

An example Runner Access Key:

accessKey: the-returned-access-key
apiVersion: management.loft.sh/v1
kind: RunnerAccessKey
metadata:
creationTimestamp: null

Runner Access Key Reference

accessKey required string pro

AccessKey is the access key used by the runner

Runner Access Key (Get)

You can retrieve the runner access key via this api.

Run the following command:

# Exchange my-object in the url below with the name of the Runner Access Key
kubectl get --raw "/kubernetes/management/apis/management.loft.sh/v1/runners/my-object/accesskey"