# AuthKeyProperty

The shared Slurm key for authentication, also known as the *cluster secret* .

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 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 authKeyProperty: pcs.CfnCluster.AuthKeyProperty = {
  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

auth_key_property = pcs.CfnCluster.AuthKeyProperty(
    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.*;

AuthKeyProperty authKeyProperty = AuthKeyProperty.builder()
        .secretArn("secretArn")
        .secretVersion("secretVersion")
        .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.PCS;

var authKeyProperty = new AuthKeyProperty {
    SecretArn = "secretArn",
    SecretVersion = "secretVersion"
};
```

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"

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

## Properties

- `secretArn`: string (required) — The Amazon Resource Name (ARN) of the shared Slurm key.

- `secretVersion`: string (required) — The version of the shared Slurm key.
