Generate a new key for a logging pipeline, invalidating the old one. The key is used for authentication when sending logs.
Usage
ionosctl logging-service pipeline key [flags]
Aliases
For logging-service command:
[log-svc]
For pipeline command:
[p pipelines]
Description
Generate a new key for a logging pipeline, invalidating the old one. The key is used for authentication when sending logs.
Options
-u, --api-url string Override default host url (default "logging.de-txl.ionos.com")
--cols strings Set of columns to be printed on output
Available columns: [Id Name GrafanaAddress CreatedDate State] (default [Id,Name,GrafanaAddress,CreatedDate,State])
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
-f, --force Force command to execute without user input
-h, --help Print usage
--no-headers Don't print table headers when table output is used
-o, --output string Desired output format [text|json|api-json] (default "text")
-i, --pipeline-id string The ID of the logging pipeline you want to retrieve (required)
-q, --quiet Quiet output
-v, --verbose Print step-by-step process when running command
Examples
ionosctl logging-service pipeline key --pipeline-id ID