Adds an `IdpCredential`. Up to 2 credentials are allowed.

When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `"done": false`, it will not have a response, and the metadata will have `"state": "awaiting-multi-party-approval"`.

### HTTP request

`POST https://cloudidentity.googleapis.com/v1/{parent=inboundSamlSsoProfiles/*}/idpCredentials:add`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The `InboundSamlSsoProfile` that owns the `IdpCredential`. Format: `inboundSamlSsoProfiles/{sso_profile_id}` |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "pemData": string } ``` |

| Fields ||
|---|---|
| The data for the `IdpCredential`. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `pemData` | `string` PEM encoded x509 certificate containing the public key for verifying IdP signatures. |
| End of mutually exclusive fields. ||

### Response body

If successful, the response body contains an instance of `Operation`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-identity.inboundsso`
- `https://www.googleapis.com/auth/cloud-identity`
- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authorization guide](https://developers.google.com/workspace/guides/configure-oauth-consent).