Skip to main content
Version: v4

dkron acl token create

dkron acl token create

Create a new ACL token

Synopsis

Create a new ACL token. This command allows to create a new ACL token.

dkron acl token create [flags]

Options

      --cert-file string         Path to the client server TLS cert file
-h, --help help for create
--key-file string Path to the client server TLS key file
-n, --name string Sets the human readable name for the ACL token.
-p, --policy strings Specifies a policy to associate with the token. Can be specified multiple times, but only with client type tokens. (default [default])
--rpc-addr string gRPC address of the agent (default "127.0.0.1:6868")
--trusted-ca-file string Path to the client server TLS trusted CA cert file
-t, --type string Sets the type of token. Must be one of "client" (default), or "management". (default "client")

Options inherited from parent commands

      --config string   config file (default is /etc/dkron/dkron.yml)

SEE ALSO

Auto generated by spf13/cobra on 6-Oct-2024