### Building the Authorization Header
Here are examples of how to generate the required value in different
environments.
**Linux or macOS (Terminal)**
You can use the `echo` and `base64` commands. Remember to use the `-n` flag
with `echo` to prevent it from adding a trailing newline, which would
invalidate the credential string.

```bash

# This command outputs the required Base64-encoded string for your header.

echo -n "<YOUR_API_KEY>:<YOUR_API_SECRET>" | base64
```
**Python**
This simple snippet shows how to generate the full header value.

```python

import base64


# 1. Your credentials

api_key = "<YOUR_API_KEY>"

api_secret = "<YOUR_API_SECRET>"


# 2. Combine them into a single string

credentials_string = f"{api_key}:{api_secret}"


# 3. Encode the string to bytes, then Base64 encode it

encoded_credentials =
base64.b64encode(credentials_string.encode('utf-8')).decode('utf-8')


# 4. The final header value

auth_header = f"Basic {encoded_credentials}"


print(auth_header)
```


---

