# JwtKeyProperty

Struct · External

The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.

- Source: Generated at build time
- Type last changed: v2.230.0 · 26 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const jwtKeyProperty: pcs.CfnCluster.JwtKeyProperty = {
  secretArn: 'secretArn',
  secretVersion: 'secretVersion',
};
```

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_pcs as pcs

jwt_key_property = pcs.CfnCluster.JwtKeyProperty(
    secret_arn="secretArn",
    secret_version="secretVersion"
)
```

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

JwtKeyProperty jwtKeyProperty = JwtKeyProperty.builder()
        .secretArn("secretArn")
        .secretVersion("secretVersion")
        .build();
```

C#:

```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.PCS;

var jwtKeyProperty = new JwtKeyProperty {
    SecretArn = "secretArn",
    SecretVersion = "secretVersion"
};
```

Go:

```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"

jwtKeyProperty := &JwtKeyProperty{
	SecretArn: jsii.String("secretArn"),
	SecretVersion: jsii.String("secretVersion"),
}
```

## Properties

- `secretArn`: string (required) — The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.

- `secretVersion`: string (required) — The version of the AWS Secrets Manager secret containing the JWT key.
