stack es security get-service-credentials cli command
Auth required
Idempotent
Scope: global
elastic stack es security get-service-credentials \
--namespace <namespace> \
--service <service> \
[options]
Get service account credentials.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--namespacestringrequired- The name of the namespace.
--servicestringrequired- The service name.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON