L
LaunchDarkly CLI
Details
- Command
-
ldcli - Docs
- https://launchdarkly.com/docs/home/getting-started/ldcli
Authentication
LaunchDarkly CLI login session oauth2 discovered
$ ldcli login Acquired by the CLI — running ldcli login opens the auth flow and stores the credential.
env LD_ACCESS_TOKEN In the LaunchDarkly app, go to Authorization and create an access token. LaunchDarkly docs state the REST API uses personal or service access tokens; the REST API guide links to token creation under Access Tokens and Using the LaunchDarkly REST API. Use the token in an Authorization header.