IpfsClusterOptions

Per-customer private-IPFS-cluster secrets: ONE swarm key + ONE cluster secret shared by every NixIPFS node in the customer config. Generated once by IpfsClusterSecretsGenerator and persisted on NETSetupConfig.IpfsCluster so re-runs keep the same swarm (regenerating would partition the cluster - all nodes must share identical entropy).

public sealed class IpfsClusterOptions

1. Constructors

1.1. IpfsClusterOptions(IpfsSwarmKey, IpfsClusterSecret)

Creates the options from the two generated entropy values.

[JsonConstructor]
public IpfsClusterOptions(IpfsSwarmKey swarmKey, IpfsClusterSecret clusterSecret)
Table 1. Parameters
Name Type Description

swarmKey

IpfsSwarmKey

clusterSecret

IpfsClusterSecret

2. Properties

2.1. ClusterSecret

Raw 64-char lowercase-hex cluster-secret entropy (CLUSTER_SECRET= applied at emit time).

public IpfsClusterSecret ClusterSecret { get; }

2.2. SwarmKey

Raw 64-char lowercase-hex swarm-key entropy (psk header applied at emit time).

public IpfsSwarmKey SwarmKey { get; }