# BasicAuthConfigurationProperty

Information about the basic authentication credentials used to configure a plugin.

- Source: Generated at build time
- Type last changed: v2.140.0 · 2 May 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_qbusiness as qbusiness } from 'aws-cdk-lib';
const basicAuthConfigurationProperty: qbusiness.CfnPlugin.BasicAuthConfigurationProperty = {
  roleArn: 'roleArn',
  secretArn: 'secretArn',
};
```

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_qbusiness as qbusiness

basic_auth_configuration_property = qbusiness.CfnPlugin.BasicAuthConfigurationProperty(
    role_arn="roleArn",
    secret_arn="secretArn"
)
```

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.qbusiness.*;

BasicAuthConfigurationProperty basicAuthConfigurationProperty = BasicAuthConfigurationProperty.builder()
        .roleArn("roleArn")
        .secretArn("secretArn")
        .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.QBusiness;

var basicAuthConfigurationProperty = new BasicAuthConfigurationProperty {
    RoleArn = "roleArn",
    SecretArn = "secretArn"
};
```

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"

basicAuthConfigurationProperty := &BasicAuthConfigurationProperty{
	RoleArn: jsii.String("roleArn"),
	SecretArn: jsii.String("secretArn"),
}
```

## Properties

- `roleArn`: string (required) — The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.

- `secretArn`: string (required) — The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
