Table of Contents

Class CedarOptions

Namespace
Excalibur.A3.Policy.Cedar
Assembly
Excalibur.A3.Policy.Cedar.dll

Configuration options for the Cedar HTTP authorization adapter.

public sealed class CedarOptions
Inheritance
CedarOptions
Inherited Members

Properties

Endpoint

Gets or sets the base URL of the Cedar agent or AVP endpoint.

[Required]
public string Endpoint { get; set; }

Property Value

string

The Cedar endpoint URL.

FailClosed

Gets or sets a value indicating whether authorization should deny on Cedar errors (fail-closed).

public bool FailClosed { get; set; }

Property Value

bool

true to fail closed (deny on error); false to fail open. Defaults to true.

Mode

Gets or sets the Cedar evaluation mode.

public CedarMode Mode { get; set; }

Property Value

CedarMode

The Cedar mode. Defaults to Local.

PolicyStoreId

Gets or sets the policy store identifier. Required for AwsVerifiedPermissions.

public string? PolicyStoreId { get; set; }

Property Value

string

The AVP policy store ID.

TimeoutMs

Gets or sets the HTTP request timeout in milliseconds.

[Range(100, 60000)]
public int TimeoutMs { get; set; }

Property Value

int

The timeout in milliseconds. Defaults to 5000.