[ Web Proxy ]
URL:
Viewing: https://docs.socket.dev/docs/socket-login [Back]  [Original]

socket login
IntroductionSocket AlertsSocket DashboardIntegrationsSocket for GitHubCI-CD IntegrationsSocket CLISocket MCPSocket FirewallSocket for VS CodeSocket REST APISocket Chrome ExtensionNext stepsAdvanced

socket login

Socket API login

If you have a Socket.dev API token you can use socket login to store the token in a file such that it will automatically use that token when you run commands.

socket login --help

$ socket login --help

  Socket API login

  Usage
    $ socket login [options]

  API Token Requirements
    - Quota: 1 unit

  Logs into the Socket API by prompting for an API token

  Options
    --api-base-url    API server to connect to for login
    --api-proxy       Proxy to use when making connection to API server

  Examples
    $ socket login
    $ socket login --api-proxy=http://localhost:1234

socket ci
socket logout
Did this page help you?
Copy Page

Web Proxy Viewer  |  New URL  |  Original Page