# ApiKeyCredentialsProperty

The API key credentials required for API key authentication.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const apiKeyCredentialsProperty: appflow.CfnConnectorProfile.ApiKeyCredentialsProperty = {
  apiKey: 'apiKey',

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appflow as appflow

api_key_credentials_property = appflow.CfnConnectorProfile.ApiKeyCredentialsProperty(
    api_key="apiKey",

    # the properties below are optional
    api_secret_key="apiSecretKey"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;

ApiKeyCredentialsProperty apiKeyCredentialsProperty = ApiKeyCredentialsProperty.builder()
        .apiKey("apiKey")

        // the properties below are optional
        .apiSecretKey("apiSecretKey")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;

var apiKeyCredentialsProperty = new ApiKeyCredentialsProperty {
    ApiKey = "apiKey",

    // the properties below are optional
    ApiSecretKey = "apiSecretKey"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

apiKeyCredentialsProperty := &ApiKeyCredentialsProperty{
	ApiKey: jsii.String("apiKey"),

	// the properties below are optional
	ApiSecretKey: jsii.String("apiSecretKey"),
}
```

## Properties

- `apiKey`: string (required) — The API key required for API key authentication.

- `apiSecretKey`: string — The API secret key required for API key authentication.
