Command

nylas admin credentials create

Create a credential

Written by Qasim Muhammad Staff SRE

What does nylas admin credentials create do?

The nylas admin credentials create command creates a credential. It is part of the Admin (API Management) commands, which manage Nylas applications, callback URIs, connectors, credentials, and grants.

Usage

nylas admin credentials create

Flags

FlagDescription
--client-id stringOAuth client ID
--client-secret stringOAuth client secret
--connector-id stringConnector ID (required)
--name stringCredential name (required)
--type stringCredential type (oauth, service_account, connector) (required)
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas admin credentials create command creates a credential.

JSON output for scripting

nylas admin credentials create --json

Filter by client-id

nylas admin credentials create --client-id <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas admin credentials create --help for full help output.