Skip to content
v2.273.0

KeyPairCredentialsProperty Struct ​

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

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 ​

keyPairUsernamestringkey_pair_usernamestrkeyPairUsernameStringKeyPairUsernamestringKeyPairUsername*stringrequired#
Username.
privateKeystringprivate_keystrprivateKeyStringPrivateKeystringPrivateKey*stringrequired#
PrivateKey.
privateKeyPassphrasestringprivate_key_passphrasestrprivateKeyPassphraseStringPrivateKeyPassphrasestringPrivateKeyPassphrase*string#
PrivateKeyPassphrase.