# KeyPairCredentialsProperty

The combination of username, private key and passphrase that are used as credentials.

- Source: Generated code
- Type last changed: v2.235.0 · 15 Jan 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const keyPairCredentialsProperty: quicksight.CfnDataSource.KeyPairCredentialsProperty = {
  keyPairUsername: 'keyPairUsername',
  privateKey: 'privateKey',

  // the properties below are optional
  privateKeyPassphrase: 'privateKeyPassphrase',
};
```

## Properties

- `keyPairUsername`: string (required) — Username.

- `privateKey`: string (required) — PrivateKey.

- `privateKeyPassphrase`: string — PrivateKeyPassphrase.
