> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/o/optimate-bgys-certificates.md).

# Optimate BGYS Certificates

Optimate BGYS is an information security management system. OctoXLabs reads a view that lists certificates and turns each row into a certificate asset.

## Use cases

* List certificates that come from Optimate BGYS.

```
Adapters = optimate-bgys-certificates
```

## Before you begin

### Network

| Source              | Destination          | Port                    | Protocol                         |
| ------------------- | -------------------- | ----------------------- | -------------------------------- |
| OctoXLabs connector | Optimate BGYS server | Set by you (no default) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

The account must be allowed to use the Optimate BGYS API and must be a member of the selected profile. The sources do not name a role. Not verified.

## Create credentials in Optimate BGYS Certificates

{% stepper %}
{% step %}

### Pick an API account

Use an Optimate BGYS account that has API access.
{% endstep %}

{% step %}

### Prepare a view

Create or choose a View record that returns the data you want. Note its numeric ID, or its system name in `{Module.SystemName}.{View.SystemName}` format, for example `MyModule.MyView`.
{% endstep %}

{% step %}

### Choose a profile

Note the Profile record, by numeric ID or by system name. The account must be a member of this profile.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                 | Required | Type    | Default            | Description                                                                                             |
| ------------------------- | -------- | ------- | ------------------ | ------------------------------------------------------------------------------------------------------- |
| IP                        | Yes      | String  |                    | IP address of the Optimate BGYS host.                                                                   |
| Port                      | Yes      | String  |                    | Port number of the Optimate BGYS connection.                                                            |
| Username                  | Yes      | String  |                    | Account with API access.                                                                                |
| Password                  | Yes      | String  |                    | Password of the account.                                                                                |
| View ID                   | Yes      | String  |                    | View record to read from: numeric ID or `{Module.SystemName}.{View.SystemName}`.                        |
| Profile ID                | Yes      | String  |                    | Profile record used while reading: numeric ID or system name. The user must be a member of the profile. |
| Primary Key Field         | No       | String  | PrimaryKey         | Column with the unique ID of each row.                                                                  |
| Certificate Content Field | No       | String  | CertificateContent | Column with the raw certificate PEM content.                                                            |
| Expiry Field              | No       | String  | ExpiryDate         | Column with the certificate expiry date.                                                                |
| Is Secure                 | No       | Boolean | True               | Use HTTPS.                                                                                              |
| Timeout                   | No       | Integer | 30                 | Seconds to wait for API responses.                                                                      |

## Troubleshooting

| Error message | Cause | Fix |
| ------------- | ----- | --- |

## Change history
