Skip to main content

Class CAConfig

Namespace: Consul
Assembly: Consul.dll

public class CAConfig

Inheritance​

object ← CAConfig

Inherited Members​

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Properties​

Config​

Configuration is arbitrary configuration for the provider. This should only contain primitive values and containers (such as lists and maps).

public Dictionary<string, object> Config { get; set; }

Property Value​

Dictionary <string , object >

CreateIndex​

public ulong CreateIndex { get; set; }

Property Value​

ulong

ForceWithoutCrossSigning​

ForceWithoutCrossSigning indicates that the CA reconfiguration should go ahead even if the current CA is unable to cross sign certificates. This risks temporary connection failures during the rollout as new leafs will be rejected by proxies that have not yet observed the new root cert but is the only option if a CA that doesn't support cross signing needs to be reconfigured or mirated away from.

public bool ForceWithoutCrossSigning { get; set; }

Property Value​

bool

ModifyIndex​

public ulong ModifyIndex { get; set; }

Property Value​

ulong

Provider​

Provider is the CA provider implementation to use.

public string Provider { get; set; }

Property Value​

string

State​

State is read-only data that the provider might have persisted for use after restart or leadership transition. For example this might include UUIDs of resources it has created. Setting this when writing a configuration is an error.

public Dictionary<string, string> State { get; set; }

Property Value​

Dictionary <string , string >

  • Properties
    • Config
    • CreateIndex
    • ForceWithoutCrossSigning
    • ModifyIndex
    • Provider
    • State