manageauth

Note:

SuiteCloud CLI for Java has reached end of support. The final available version is 2025.2. Oracle no longer provides new releases, features, or issue fixes. The CLI will remain available for download until the NetSuite 2027.1 release. Transition to SuiteCloud CLI for Node.js, SuiteCloud Extension for Visual Studio Code, or SuiteCloud IDE Plug-in for WebStorm.

Manages authentication IDs for all your projects. An authentication ID is a custom alias you give to a specific account-role combination.

Syntax

          sdfcli manageauth
    [-info AuthId]
    [-list]
    [-rename AuthId -renameto NewAuthId]
         [-remove AuthId] 

        

Options

Option

Required / Optional

Description

-info

Optional

Prints the following information for the specified authentication ID: account ID, role ID, and url.

Usage: sdfcli manageauth -info.

-list

Optional

Prints a list of all the configured authentication IDs.

Usage: sdfcli manageauth -list.

-remove

Optional

Removes an authentication ID.

This option only removes the credentials locally and doesn't revoke the token from the account.

Usage: sdfcli manageauth -remove {authId}.

-rename

Optional

Renames an authentication ID. Use it with the renameto option.

Usage: sdfcli manageauth -rename {authId}.

-renameto

Required when the -rename option is specified.

Specifies the new ID for an authentication ID. Use it with the -rename option.

Usage: sdfcli manageauth -rename {authId} -renameto {newAuthId}.

-h or -help

Optional

Prints the help for this command.

Example

When you run sdfcli manageauth -list, the command produces output that is similar to the following:

The following authentication IDs are available for your account: - AuthId | My Account - 123456 [Administrator] - AuthId | My Developer Account - 110010100 [Developer]

Related Topics

General Notices