docs.veracode.com Open in urlscan Pro
2606:4700::6812:66d  Public Scan

Submitted URL: https://help.veracode.com/go/c_identity_gen_creds
Effective URL: https://docs.veracode.com/r/c_identity_gen_creds
Submission: On June 08 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Skip to main content
ctrlK
UpdatesGlossaryAPI Specs


 * Home
 * Get Started
 * Package Your Code
 * Integrate with Veracode
 * Use Veracode in Your IDE
 * Scan Your Code
 * Scan Open Source Code
 * Scan Containers
 * Scan Web Applications and APIs
 * Manage Findings
 * Request Security Tests
 * Manage Security Training
 * Veracode Administration
 * Veracode APIs
   * API Usage Guidelines
   * Veracode API Best Practices
   * Enabling HMAC for Veracode APIs
   * REST APIs
     * Annotations REST API
     * Applications REST API
     * Crashtest Security API
     * Development Sandbox REST API
     * Dynamic Analysis REST API
     * eLearning REST API
     * Findings REST API
     * Greenlight REST API
     * Healthcheck REST API
     * Manual Testing REST API
     * Identity REST API
       * Creating User and SAML User Accounts with the Identity API
       * Creating an API Service Account with the Identity API
       * Listing All Roles in an Organization with the Identity API
       * Listing Users with the Identity API
       * Searching for Users with the Identity API
       * Filtering Users with the Identity API
       * Updating a User with the Identity API
       * Updating a User to Require Multifactor Authentication with the Identity
         API
       * Deleting a User with the Identity API
       * Generating API Credentials with the Identity API
       * Viewing API Credentials Expiration with the Identity API
       * Revoking API Credentials with the Identity API
       * Deleting API Credentials for an API User with the Identity API
       * Creating a Team with the Identity API
       * Adding Users to a Team with the Identity API
       * Listing Teams with the Identity API
       * Viewing Team Details with the Identity API
       * Updating a Team with the Identity API
       * Deleting a Team with the Identity API
       * Creating a Business Unit with the Identity API
       * Adding a Team to a Business Unit with the Identity API
       * Listing Business Units with the Identity API
       * Viewing Business Unit Details with the Identity API
       * Updating a Business Unit with the Identity API
       * Deleting a Business Unit with the Identity API
     * Pipeline Scan REST API
     * Policy REST API
     * SCA Agent REST API
     * Security Labs REST API
     * Summary Report REST API
   * XML APIs
   * API Wrappers
 * Third-Party Software Acknowledgments for Veracode Distributed Software
 * All Docs and Videos

 * 
 * Veracode APIs
 * REST APIs
 * Identity REST API
 * Generating API Credentials with the Identity API

On this page


GENERATING API CREDENTIALS WITH THE IDENTITY API

This use case scenario provides the Identity REST API command for generating new
Veracode API credentials.

These commands revoke the current API credentials and return the API ID and API
key for the new credentials. You must include the --json parameter to force the
commands to send the Content-Type: application/json in the HTTP header.


GENERATE API CREDENTIALS FOR YOUR ACCOUNT

Use this command to generate new API credentials for your account:

http --auth-type=veracode_hmac --json POST "https://api.veracode.com/api/authn/v2/api_credentials"





GENERATE API CREDENTIALS FOR AN API USER

note

To use this command, you must be the administrator for the specified user.

Use the following command to generate new API credentials for the API user you
specify for userId:

http --auth-type=veracode_hmac --json POST "https://api.veracode.com/api/authn/v2/api_credentials/user_id/{userId}"



Previous
Deleting a User with the Identity API
Next
Viewing API Credentials Expiration with the Identity API
 * Generate API Credentials for Your Account
 * Generate API Credentials for an API User

Community
 * Community
 * Veracode for Developers

Social
 * Facebook
 * Instagram
 * Twitter

Support
 * Contact Support
 * Secure Code Training

Legal
 * Privacy Statement
 * Terms of Use
 * Third-Party Licenses

Copyright © 2023 Veracode