Skip to main content
Testkube 2.15.0 is out! AI Governance, GitLab in AI Test Creation, an executions timeline, and much more! Read More

testkube agent rotate key

testkube agent rotate-key​

Rotate the secret key for an agent

Synopsis​

Rotate the secret key for an agent with a configurable grace period during which the old key remains valid

testkube agent rotate-key <nameOrId> [flags]

Options​

--grace-period string how long the old key remains valid (e.g., 24h, 48h, 0s for immediate) (default "24h")
-h, --help help for rotate-key
-y, --yes skip confirmation prompt

Options inherited from parent commands​

-a, --api-uri string api uri, default value read from config if set (default "http://localhost:8088")
-c, --client string client used for connecting to Testkube API one of proxy|direct|cluster (default "proxy")
--header stringToString headers for direct client key value pair: --header name=value (default [])
--insecure insecure connection for direct client
--namespace string Kubernetes namespace, default value read from config if set (default "testkube")
--verbose show additional debug messages

SEE ALSO​