Table of Contents

Class SecretInfo

Namespace
Excalibur.Data.ElasticSearch.Security
Assembly
Excalibur.Data.ElasticSearch.dll

Contains information about a secret without exposing the secret value.

public sealed class SecretInfo
Inheritance
SecretInfo
Inherited Members

Remarks

Initializes a new instance of the SecretInfo class.

Constructors

SecretInfo(string, SecretMetadata?)

Contains information about a secret without exposing the secret value.

public SecretInfo(string name, SecretMetadata? metadata = null)

Parameters

name string

The name of the secret.

metadata SecretMetadata

The metadata associated with the secret.

Remarks

Initializes a new instance of the SecretInfo class.

Properties

Metadata

Gets the metadata associated with the secret.

public SecretMetadata? Metadata { get; }

Property Value

SecretMetadata

The metadata for the secret, or null if not available.

Name

Gets the name of the secret.

public string Name { get; }

Property Value

string

The unique identifier for the secret.