generated: '2026-10-18' method: searched generator: extract-docs-artifacts.py (local) source: https://docs.metal.build/authentication sources: - https://docs.metal.build/authentication - https://docs.metal.build/token-locks - https://docs.metal.build/get-tokens - https://docs.metal.build/get-holders description: Authentication schemes for Metal API schemes: - type: http-basic name: Basic authentication evidence: With basic authentication, you use your username and password to authenticate your HTTP requests. location: header header: Authorization how_to_obtain: Use your username and password provided for the Protocol account. - type: http-bearer name: OAuth2 with bearer token evidence: The recommended way to authenticate with the Protocol API is by using OAuth2. When establishing a connection using OAuth2, you will need your access token — you will find it in the Protocol dashboard under API settings. location: header header: x-api-key how_to_obtain: Retrieve the access token from the Protocol dashboard under API settings. docs: https://docs.metal.build/authentication