# CredentialsProviderProperty

The source of the credentials that License Manager uses to reach the license server.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_licensemanagerusersubscriptions as licensemanagerusersubscriptions } from 'aws-cdk-lib';
const credentialsProviderProperty: licensemanagerusersubscriptions.CfnLicenseServerEndpoint.CredentialsProviderProperty = {
  secretsManagerCredentialsProvider: {
    secretId: 'secretId',
  },
};
```

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_licensemanagerusersubscriptions as licensemanagerusersubscriptions

credentials_provider_property = licensemanagerusersubscriptions.CfnLicenseServerEndpoint.CredentialsProviderProperty(
    secrets_manager_credentials_provider=licensemanagerusersubscriptions.CfnLicenseServerEndpoint.SecretsManagerCredentialsProviderProperty(
        secret_id="secretId"
    )
)
```

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

CredentialsProviderProperty credentialsProviderProperty = CredentialsProviderProperty.builder()
        .secretsManagerCredentialsProvider(SecretsManagerCredentialsProviderProperty.builder()
                .secretId("secretId")
                .build())
        .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.LicenseManagerUserSubscriptions;

var credentialsProviderProperty = new CredentialsProviderProperty {
    SecretsManagerCredentialsProvider = new SecretsManagerCredentialsProviderProperty {
        SecretId = "secretId"
    }
};
```

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"

credentialsProviderProperty := &CredentialsProviderProperty{
	SecretsManagerCredentialsProvider: &SecretsManagerCredentialsProviderProperty{
		SecretId: jsii.String("secretId"),
	},
}
```

## Properties

- `secretsManagerCredentialsProvider`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLicenseServerEndpoint.SecretsManagerCredentialsProviderProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_licensemanagerusersubscriptions.CfnLicenseServerEndpoint.SecretsManagerCredentialsProviderProperty.html) (required) — Credentials held in AWS Secrets Manager.
